Fixing path completion (does ~, completes empty things, etc)