From bb6b3101ffe5ab75badba75cb23d4f10ee7b2e1d Mon Sep 17 00:00:00 2001 From: amiyzku <122664939+amiyzku@users.noreply.github.com> Date: Sun, 10 Mar 2024 11:52:55 +0900 Subject: [PATCH] Shortened some which.fish completions. (#10347) * Shortened some which.fish completions. * improve descriptions for which command options --- share/completions/which.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share/completions/which.fish b/share/completions/which.fish index 45209ac33..75137474a 100644 --- a/share/completions/which.fish +++ b/share/completions/which.fish @@ -4,10 +4,10 @@ if which -v >/dev/null 2>/dev/null # GNU complete -c which -l skip-alias -d "Ignore option '--read-alias'" complete -c which -l read-functions -d "Read shell function definitions from stdin, reporting matching ones on stdout" complete -c which -l skip-functions -d "Ignore option '--read-functions'" - complete -c which -l skip-dot -d "Skip directories in PATH that start with a dot" - complete -c which -l skip-tilde -d "Skip directories in PATH that start with a tilde and executables which reside in the HOME directory" - 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'" - complete -c which -l show-tilde -d "Output a tilde when a directory matches the HOME directory" + complete -c which -l skip-dot -d "Skip dirs in PATH that start with a dot" + complete -c which -l skip-tilde -d "Skip dirs in PATH that start with tilde and executables in \$HOME" + complete -c which -l show-dot -d "For matches in PATH dirs that start with a dot, print './programname'" + complete -c which -l show-tilde -d "Output a tilde when a dir matches the \$HOME" complete -c which -l tty-only -d "Stop processing options on the right if not on tty" complete -c which -s v -s V -l version -d "Display version and exit" complete -c which -l help -d "Display help and exit"