mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
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:
parent
8f78e71b6d
commit
4afd41877f
1 changed files with 1 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue