aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/ssh.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/ssh.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/ssh.fish')
-rw-r--r--share/completions/ssh.fish44
1 files changed, 22 insertions, 22 deletions
diff --git a/share/completions/ssh.fish b/share/completions/ssh.fish
index 57250e9e..637f8e49 100644
--- a/share/completions/ssh.fish
+++ b/share/completions/ssh.fish
@@ -16,30 +16,30 @@ complete -x -c ssh -d Hostname -a "
(__fish_print_users)@
"
-complete -c ssh -s a -d (N_ "Disables forwarding of the authentication agent")
-complete -c ssh -s A -d (N_ "Enables forwarding of the authentication agent")
-complete -x -c ssh -s b -d (N_ "Interface to transmit from") -a "
+complete -c ssh -s a --description "Disables forwarding of the authentication agent"
+complete -c ssh -s A --description "Enables forwarding of the authentication agent"
+complete -x -c ssh -s b --description "Interface to transmit from" -a "
(
cat /proc/net/arp ^/dev/null| sgrep -v '^IP'|cut -d ' ' -f 1 ^/dev/null
)
"
-complete -x -c ssh -s e -d (N_ "Escape character") -a "\^ none"
-complete -c ssh -s f -d (N_ "Go to background")
-complete -c ssh -s g -d (N_ "Allow remote host to connect to local forwarded ports")
-complete -c ssh -s I -d (N_ "Smartcard device")
-complete -c ssh -s k -d (N_ "Disable forwarding of Kerberos tickets")
-complete -c ssh -s l -x -a "(__fish_complete_users)" -d (N_ "User")
-complete -c ssh -s m -d (N_ "MAC algorithm")
-complete -c ssh -s n -d (N_ "Prevent reading from stdin")
-complete -c ssh -s N -d (N_ "Do not execute remote command")
-complete -c ssh -s p -x -d (N_ "Port")
-complete -c ssh -s q -d (N_ "Quiet mode")
-complete -c ssh -s s -d (N_ "Subsystem")
-complete -c ssh -s t -d (N_ "Force pseudo-tty allocation")
-complete -c ssh -s T -d (N_ "Disable pseudo-tty allocation")
-complete -c ssh -s x -d (N_ "Disable X11 forwarding")
-complete -c ssh -s X -d (N_ "Enable X11 forwarding")
-complete -c ssh -s L -d (N_ "Locally forwarded ports")
-complete -c ssh -s R -d (N_ "Remotely forwarded ports")
-complete -c ssh -s D -d (N_ "Dynamic port forwarding")
+complete -x -c ssh -s e --description "Escape character" -a "\^ none"
+complete -c ssh -s f --description "Go to background"
+complete -c ssh -s g --description "Allow remote host to connect to local forwarded ports"
+complete -c ssh -s I --description "Smartcard device"
+complete -c ssh -s k --description "Disable forwarding of Kerberos tickets"
+complete -c ssh -s l -x -a "(__fish_complete_users)" --description "User"
+complete -c ssh -s m --description "MAC algorithm"
+complete -c ssh -s n --description "Prevent reading from stdin"
+complete -c ssh -s N --description "Do not execute remote command"
+complete -c ssh -s p -x --description "Port"
+complete -c ssh -s q --description "Quiet mode"
+complete -c ssh -s s --description "Subsystem"
+complete -c ssh -s t --description "Force pseudo-tty allocation"
+complete -c ssh -s T --description "Disable pseudo-tty allocation"
+complete -c ssh -s x --description "Disable X11 forwarding"
+complete -c ssh -s X --description "Enable X11 forwarding"
+complete -c ssh -s L --description "Locally forwarded ports"
+complete -c ssh -s R --description "Remotely forwarded ports"
+complete -c ssh -s D --description "Dynamic port forwarding"