mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
11a60c8374
I hate doing this but I am tired of touching a fish script as part of some change and having `make style` radically change it. Which makes editing fish scripts more painful than it needs to be. It is time to do a wholesale reformatting of these scripts to conform to the documented style as implemented by the `fish_indent` program.
61 lines
1.5 KiB
Fish
61 lines
1.5 KiB
Fish
|
|
function __fish_complete_ssh -d "common completions for ssh commands" --argument command
|
|
|
|
complete -c $command -s 1 --description "Protocol version 1 only"
|
|
complete -c $command -s 2 --description "Protocol version 2 only"
|
|
complete -c $command -s 4 --description "IPv4 addresses only"
|
|
complete -c $command -s 6 --description "IPv6 addresses only"
|
|
complete -c $command -s C --description "Compress all data"
|
|
complete -xc $command -s c --description "Encryption algorithm" -a "blowfish 3des des"
|
|
complete -r -c $command -s F --description "Configuration file"
|
|
complete -r -c $command -s i --description "Identity file"
|
|
complete -x -c $command -s o --description "Options" -a "
|
|
AddressFamily
|
|
BatchMode
|
|
BindAddress
|
|
ChallengeResponseAuthentication
|
|
CheckHostIP
|
|
Cipher
|
|
Ciphers
|
|
Compression
|
|
CompressionLevel
|
|
ConnectionAttempts
|
|
ConnectTimeout
|
|
ControlMaster
|
|
ControlPath
|
|
GlobalKnownHostsFile
|
|
GSSAPIAuthentication
|
|
GSSAPIDelegateCredentials
|
|
Host
|
|
HostbasedAuthentication
|
|
HostKeyAlgorithms
|
|
HostKeyAlias
|
|
HostName
|
|
IdentityFile
|
|
IdentitiesOnly
|
|
LogLevel
|
|
MACs
|
|
NoHostAuthenticationForLocalhost
|
|
NumberOfPasswordPrompts
|
|
PasswordAuthentication
|
|
Port
|
|
PreferredAuthentications
|
|
Protocol
|
|
ProxyCommand
|
|
PubkeyAuthentication
|
|
RhostsRSAAuthentication
|
|
RSAAuthentication
|
|
SendEnv
|
|
ServerAliveInterval
|
|
ServerAliveCountMax
|
|
SmartcardDevice
|
|
StrictHostKeyChecking
|
|
TCPKeepAlive
|
|
UsePrivilegedPort
|
|
User
|
|
UserKnownHostsFile
|
|
VerifyHostKeyDNS
|
|
"
|
|
complete -c $command -s v --description "Verbose mode"
|
|
end
|
|
|