mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 15:28:39 +08:00

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'
|