mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-21 07:03:41 +08:00
29f35d6cdf
This gives us more accurate completions because completion scripts get expanded paths
4 lines
227 B
Fish
4 lines
227 B
Fish
complete -c for -n 'test (count (commandline -xpc)) -eq 1' -s h -l help -d 'Display help and exit'
|
|
complete -c for -n 'test (count (commandline -xpc)) -eq 1' -f
|
|
complete -c for -n 'test (count (commandline -xpc)) -eq 2' -xa in
|