diff --git a/completions/bash/ss-local b/completions/bash/ss-local index bdf12ee6..bb1a1d2b 100644 --- a/completions/bash/ss-local +++ b/completions/bash/ss-local @@ -1,7 +1,8 @@ _ss_local() { - local cur prev opts + local cur prev opts ciphers opts='-s -b -p -k -f -t -m -c -a -n -u -U -v -h -A --fast-open --mtu --help --mptcp -i --acl -l' + ciphers='rc4-md5 table rc4 aes-128-cfb aes-192-cfb aes-256-cfb aes-128-ctr aes-192-ctr aes-256-ctr bf-cfb camellia-128-cfb camellia-192-cfb camellia-256-cfb cast5-cfb des-cfb idea-cfb rc2-cfb seed-cfb salsa20 chacha20 and chacha20-ietf' cur=${COMP_WORDS[COMP_CWORD]} prev="${COMP_WORDS[COMP_CWORD-1]}" case "$prev" in diff --git a/completions/bash/ss-manager b/completions/bash/ss-manager index 25679851..4fb3a332 100644 --- a/completions/bash/ss-manager +++ b/completions/bash/ss-manager @@ -1,7 +1,8 @@ _ss_manager() { - local cur prev opts + local cur prev opts ciphers opts='-s -b -p -k -f -t -m -c -a -n -u -U -v -h -A --mtu --help --mptcp -i -l --manager-address --executable' + ciphers='rc4-md5 table rc4 aes-128-cfb aes-192-cfb aes-256-cfb aes-128-ctr aes-192-ctr aes-256-ctr bf-cfb camellia-128-cfb camellia-192-cfb camellia-256-cfb cast5-cfb des-cfb idea-cfb rc2-cfb seed-cfb salsa20 chacha20 and chacha20-ietf' cur=${COMP_WORDS[COMP_CWORD]} prev="${COMP_WORDS[COMP_CWORD-1]}" case "$prev" in diff --git a/completions/bash/ss-redir b/completions/bash/ss-redir index 7517b61a..ad2ddee6 100644 --- a/completions/bash/ss-redir +++ b/completions/bash/ss-redir @@ -1,6 +1,7 @@ _ss_redir() { - local cur prev opts + local cur prev opts ciphers + ciphers='rc4-md5 table rc4 aes-128-cfb aes-192-cfb aes-256-cfb aes-128-ctr aes-192-ctr aes-256-ctr bf-cfb camellia-128-cfb camellia-192-cfb camellia-256-cfb cast5-cfb des-cfb idea-cfb rc2-cfb seed-cfb salsa20 chacha20 and chacha20-ietf' opts='-s -b -p -k -f -t -m -c -a -n -u -U -v -h -A --mtu --help --mptcp -l' cur=${COMP_WORDS[COMP_CWORD]} prev="${COMP_WORDS[COMP_CWORD-1]}" diff --git a/completions/bash/ss-tunnel b/completions/bash/ss-tunnel index 4f6bca58..057801b0 100644 --- a/completions/bash/ss-tunnel +++ b/completions/bash/ss-tunnel @@ -1,6 +1,7 @@ _ss_tunnel() { - local cur prev opts + local cur prev opts ciphers + ciphers='rc4-md5 table rc4 aes-128-cfb aes-192-cfb aes-256-cfb aes-128-ctr aes-192-ctr aes-256-ctr bf-cfb camellia-128-cfb camellia-192-cfb camellia-256-cfb cast5-cfb des-cfb idea-cfb rc2-cfb seed-cfb salsa20 chacha20 and chacha20-ietf' opts='-s -b -p -k -f -t -m -c -a -n -u -U -v -h -A --mtu --help --mptcp -i -l -L' cur=${COMP_WORDS[COMP_CWORD]} prev="${COMP_WORDS[COMP_CWORD-1]}"