mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 19:53:36 +08:00
4afd41877f
This actually used the built-in file-completion logic as a fallback for e.g. tilde-expansion (stuff like `cd ~/V`). Fixes #4061.
3 lines
107 B
Fish
3 lines
107 B
Fish
complete -c cd -a "(__fish_complete_cd)"
|
|
complete -c cd -s h -l help --description 'Display help and exit'
|