fish-shell/share/completions/for.fish

4 lines
227 B
Fish
Raw Normal View History

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