mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-18 12:33:38 +08:00
06688fb9ea
darcs-hash:20070420195506-ac50b-b5f56bb2964e65d13abfb9281ce26db2b8c341b7.gz
16 lines
1.3 KiB
Fish
16 lines
1.3 KiB
Fish
|
|
complete -c which -s a -l all --description "Print all matching executables in PATH, not just the first"
|
|
complete -c which -s i -l read-alias --description "Read aliases from stdin, reporting matching ones on stdout"
|
|
complete -c which -l skip-alias --description "Ignore option '--read-alias'"
|
|
complete -c which -l read-functions --description "Read shell function definitions from stdin, reporting matching ones on stdout"
|
|
complete -c which -l skip-functions --description "Ignore option '--read-functions'"
|
|
complete -c which -l skip-dot --description "Skip directories in PATH that start with a dot"
|
|
complete -c which -l skip-tilde --description "Skip directories in PATH that start with a tilde and executables which reside in the HOME directory"
|
|
complete -c which -l show-dot --description "If a directory in PATH starts with a dot and a matching executable was found for that path, then print './programname'"
|
|
complete -c which -l show-tilde --description "Output a tilde when a directory matches the HOME directory"
|
|
complete -c which -l tty-only --description "Stop processing options on the right if not on tty"
|
|
complete -c which -s v -s V -l version --description "Display version and exit"
|
|
complete -c which -l help --description "Display help and exit"
|
|
|
|
complete -c which -a "(complete -C(commandline -ct))" -x
|