aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/commandline.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-01-16 11:18:28 +1000
committerGravatar axel <axel@liljencrantz.se>2007-01-16 11:18:28 +1000
commit34e27ff4c216e2d379afba19fed2761a684697d8 (patch)
treea1429d6c9796caf54c3f4d440e740a88e3aa76aa /share/completions/commandline.fish
parent47588c8e75f56f6065a4eb6d4e3bccbad4fab14e (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/commandline.fish')
-rw-r--r--share/completions/commandline.fish24
1 files changed, 12 insertions, 12 deletions
diff --git a/share/completions/commandline.fish b/share/completions/commandline.fish
index 476df8e6..70665995 100644
--- a/share/completions/commandline.fish
+++ b/share/completions/commandline.fish
@@ -1,17 +1,17 @@
-complete -c commandline -s h -l help -d (N_ "Display help and exit")
-complete -c commandline -s a -l append -d (N_ "Add text to the end of the selected area")
-complete -c commandline -s i -l insert -d (N_ "Add text at cursor")
-complete -c commandline -s r -l replace -d (N_ "Replace selected part")
+complete -c commandline -s h -l help --description "Display help and exit"
+complete -c commandline -s a -l append --description "Add text to the end of the selected area"
+complete -c commandline -s i -l insert --description "Add text at cursor"
+complete -c commandline -s r -l replace --description "Replace selected part"
-complete -c commandline -s j -l current-job -d (N_ "Select job under cursor")
-complete -c commandline -s p -l current-process -d (N_ "Select process under cursor")
-complete -c commandline -s t -l current-token -d (N_ "Select token under cursor")
-complete -c commandline -s b -l current-buffer -d (N_ "Select entire command line (default)")
+complete -c commandline -s j -l current-job --description "Select job under cursor"
+complete -c commandline -s p -l current-process --description "Select process under cursor"
+complete -c commandline -s t -l current-token --description "Select token under cursor"
+complete -c commandline -s b -l current-buffer --description "Select entire command line (default)"
-complete -c commandline -s c -l cut-at-cursor -d (N_ "Only return that part of the command line before the cursor")
-complete -c commandline -s f -l function -d (N_ "Inject readline functions to reader")
+complete -c commandline -s c -l cut-at-cursor --description "Only return that part of the command line before the cursor"
+complete -c commandline -s f -l function --description "Inject readline functions to reader"
-complete -c commandline -s I -l input -d (N_ "Specify command to operate on")
-complete -c commandline -s C -l cursor -d (N_ "Set/get cursor position, not buffer contents")
+complete -c commandline -s I -l input --description "Specify command to operate on"
+complete -c commandline -s C -l cursor --description "Set/get cursor position, not buffer contents"