Fix various expansions in cd completions

This actually used the built-in file-completion logic as a fallback
for e.g. tilde-expansion (stuff like `cd ~/V`).

Fixes #4061.
This commit is contained in:
Fabian Homborg 2017-05-26 16:56:31 +02:00
parent 8f78e71b6d
commit 4afd41877f

View file

@ -1,3 +1,2 @@
complete -x -c cd -a "(__fish_complete_cd)"
complete -c cd -a "(__fish_complete_cd)"
complete -c cd -s h -l help --description 'Display help and exit'