fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

NextAlonecompletion/ssh-copy-id: add completion (#9675)45b662298

master
2.8 KiB108 linesraw
1# Commands
2complete -c ssh-copy-id -d Remote -xa "(__fish_complete_user_at_hosts)"
3complete -c ssh-copy-id -d Remote -k -fa '(__ssh_history_completions)'
4
5# Options
6complete -c ssh-copy-id -s i -d IdentityFile -r -F
7complete -c ssh-copy-id -s p -d Port -r -x
8complete -c ssh-copy-id -s F -d 'Alternate ssh config file' -r -F
9
10# Load completions shared by various ssh tools like ssh, scp and sftp.
11complete -c ssh-copy-id -s o -d Options -xa "
12        AddKeysToAgent
13        AddressFamily
14        BatchMode
15        BindAddress
16        BindInterface
17        CanonicalDomains
18        CanonicalizeFallbackLocal
19        CanonicalizeHostname
20        CanonicalizeMaxDots
21        CanonicalizePermittedCNAMEs
22        CASignatureAlgorithms
23        CertificateFile
24        ChallengeResponseAuthentication
25        CheckHostIP
26        Ciphers
27        ClearAllForwardings
28        Compression
29        ConnectionAttempts
30        ConnectTimeout
31        ControlMaster
32        ControlPath
33        ControlPersist
34        DynamicForward
35        EscapeChar
36        ExitOnForwardFailure
37        FingerprintHash
38        ForwardAgent
39        ForwardX11
40        ForwardX11Timeout
41        ForwardX11Trusted
42        GatewayPorts
43        GlobalKnownHostsFile
44        GSSAPIAuthentication
45        GSSAPIClientIdentity
46        GSSAPIDelegateCredentials
47        GSSAPIKexAlgorithms
48        GSSAPIKeyExchange
49        GSSAPIRenewalForcesRekey
50        GSSAPIServerIdentity
51        GSSAPITrustDns
52        HashKnownHosts
53        Host
54        HostbasedAuthentication
55        HostbasedKeyTypes
56        HostKeyAlgorithms
57        HostKeyAlias
58        Hostname
59        IdentitiesOnly
60        IdentityAgent
61        IdentityFile
62        IPQoS
63        KbdInteractiveAuthentication
64        KbdInteractiveDevices
65        KexAlgorithms
66        LocalCommand
67        LocalForward
68        LogLevel
69        MACs
70        Match
71        NoHostAuthenticationForLocalhost
72        NumberOfPasswordPrompts
73        PasswordAuthentication
74        PermitLocalCommand
75        PKCS11Provider
76        Port
77        PreferredAuthentications
78        ProxyCommand
79        ProxyJump
80        ProxyUseFdpass
81        PubkeyAcceptedKeyTypes
82        PubkeyAuthentication
83        RekeyLimit
84        RemoteCommand
85        RemoteForward
86        RequestTTY
87        SendEnv
88        ServerAliveCountMax
89        ServerAliveInterval
90        SetEnv
91        StreamLocalBindMask
92        StreamLocalBindUnlink
93        StrictHostKeyChecking
94        TCPKeepAlive
95        Tunnel
96        TunnelDevice
97        UpdateHostKeys
98        User
99        UserKnownHostsFile
100        VerifyHostKeyDNS
101        VisualHostKey
102        XAuthLocation
103    "
104
105complete -c ssh-copy-id -s f -d 'Force mode'
106complete -c ssh-copy-id -s n -d 'Dry run'
107complete -c ssh-copy-id -s s -d 'Use sftp'
108complete -c ssh-copy-id -s h -s \? -d 'Show help'