Skip to content

Commit bb6b310

Browse files
authored
Shortened some which.fish completions. (fish-shell#10347)
* Shortened some which.fish completions. * improve descriptions for which command options
1 parent f8757d1 commit bb6b310

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

share/completions/which.fish

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ if which -v >/dev/null 2>/dev/null # GNU
44
complete -c which -l skip-alias -d "Ignore option '--read-alias'"
55
complete -c which -l read-functions -d "Read shell function definitions from stdin, reporting matching ones on stdout"
66
complete -c which -l skip-functions -d "Ignore option '--read-functions'"
7-
complete -c which -l skip-dot -d "Skip directories in PATH that start with a dot"
8-
complete -c which -l skip-tilde -d "Skip directories in PATH that start with a tilde and executables which reside in the HOME directory"
9-
complete -c which -l show-dot -d "If a directory in PATH starts with a dot and a matching executable was found for that path, then print './programname'"
10-
complete -c which -l show-tilde -d "Output a tilde when a directory matches the HOME directory"
7+
complete -c which -l skip-dot -d "Skip dirs in PATH that start with a dot"
8+
complete -c which -l skip-tilde -d "Skip dirs in PATH that start with tilde and executables in \$HOME"
9+
complete -c which -l show-dot -d "For matches in PATH dirs that start with a dot, print './programname'"
10+
complete -c which -l show-tilde -d "Output a tilde when a dir matches the \$HOME"
1111
complete -c which -l tty-only -d "Stop processing options on the right if not on tty"
1212
complete -c which -s v -s V -l version -d "Display version and exit"
1313
complete -c which -l help -d "Display help and exit"

0 commit comments

Comments
 (0)