diff --git a/.bash/auto_complete.d/ssh b/.bash/auto_complete.d/ssh index 521db46..49bbbc2 100644 --- a/.bash/auto_complete.d/ssh +++ b/.bash/auto_complete.d/ssh @@ -20,8 +20,8 @@ _ssh() { fi } -complete -o bashdefault -o default -o nospace -F _ssh ssh 2>/dev/null \ - || complete -o default -o nospace -F _ssh ssh -complete -o bashdefault -o default -o nospace -F _ssh scp 2>/dev/null \ - || complete -o default -o nospace -F _ssh scp +for CMD in ssh scp telnet nc ftp ping curl; do + complete -o bashdefault -o default -o nospace -F _ssh ${CMD} 2>/dev/null \ + || complete -o default -o nospace -F _ssh ${CMD} +done #--------------------------------------------------------------------------------