diff options
author | axel <axel@liljencrantz.se> | 2007-01-16 11:18:28 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-01-16 11:18:28 +1000 |
commit | 34e27ff4c216e2d379afba19fed2761a684697d8 (patch) | |
tree | a1429d6c9796caf54c3f4d440e740a88e3aa76aa /share/completions/which.fish | |
parent | 47588c8e75f56f6065a4eb6d4e3bccbad4fab14e (diff) |
Drop use of the N_ no-op for translation descriptions. Instead, tell xgettext that any token following '--description' should be translated. This should greatly speed up completion loading on platforms where fork() is slow. (Hi, OS X)
darcs-hash:20070116011828-ac50b-fb923dc877869ded4d506bbe0bc5364eea44092f.gz
Diffstat (limited to 'share/completions/which.fish')
-rw-r--r-- | share/completions/which.fish | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/share/completions/which.fish b/share/completions/which.fish index 16c1b7c4..2d392a1d 100644 --- a/share/completions/which.fish +++ b/share/completions/which.fish @@ -1,15 +1,15 @@ -complete -c which -s a -l all -d (N_ "Print all matching executables in PATH, not just the first") -complete -c which -s i -l read-alias -d (N_ "Read aliases from stdin, reporting matching ones on stdout") -complete -c which -l skip-alias -d (N_ "Ignore option '--read-alias'") -complete -c which -l read-functions -d (N_ "Read shell function definitions from stdin, reporting matching ones on stdout") -complete -c which -l skip-functions -d (N_ "Ignore option '--read-functions'") -complete -c which -l skip-dot -d (N_ "Skip directories in PATH that start with a dot") -complete -c which -l skip-tilde -d (N_ "Skip directories in PATH that start with a tilde and executables which reside in the HOME directory") -complete -c which -l show-dot -d (N_ "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 (N_ "Output a tilde when a directory matches the HOME directory") -complete -c which -l tty-only -d (N_ "Stop processing options on the right if not on tty") -complete -c which -s v -s V -l version -d (N_ "Display version and exit") -complete -c which -l help -d (N_ "Display help and exit") +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 "(commandline -ct)(complete -C(commandline -ct))" -x |