diff options
author | gonchar <gonchar@gonchar-lt.jinr.ru> | 2011-09-23 14:51:14 +0400 |
---|---|---|
committer | gonchar <gonchar@gonchar-lt.jinr.ru> | 2011-09-23 14:51:14 +0400 |
commit | 39a2fd1717dc69b9f4643bb6a2060713c2e5f636 (patch) | |
tree | 85d83318b572c9a141879a9ce6d547c56237116e /share/completions/ssh.fish | |
parent | c66ec4df3d57bcbd8eb1fb3d92c3cd80e1c215b5 (diff) |
* git rm and git status options are added
* ssh subcomand completion
* __fish_complete_subcommand now can skip variable number of tokens
Diffstat (limited to 'share/completions/ssh.fish')
-rw-r--r-- | share/completions/ssh.fish | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/share/completions/ssh.fish b/share/completions/ssh.fish index 5cbaacff..aada35e0 100644 --- a/share/completions/ssh.fish +++ b/share/completions/ssh.fish @@ -15,9 +15,9 @@ complete -x -c ssh -d Hostname -a " " complete -x -c ssh -d User -a " - (__fish_print_users)@ " +complete -c ssh --description "Command to run" -x -a '(__fish_complete_subcommand --fcs-skip=2)' complete -c ssh -s a --description "Disables forwarding of the authentication agent" complete -c ssh -s A --description "Enables forwarding of the authentication agent" @@ -46,3 +46,6 @@ 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" + +# Since ssh runs subcommands, it can accept any switches +complete -c ssh -u |