mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
29f35d6cdf
This gives us more accurate completions because completion scripts get expanded paths
3 lines
227 B
Fish
3 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
|