We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b2c131c + 72c04a8 commit 1d79c0aCopy full SHA for 1d79c0a
completion/available/ssh.completion.bash
@@ -1,7 +1,8 @@
1
# shellcheck shell=bash
2
# Bash completion support for ssh.
3
4
-export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}
+# Remove : and @ from COMP_WORDBREAKS to support user@host completion
5
+export COMP_WORDBREAKS=${COMP_WORDBREAKS//[:@]/}
6
7
_sshcomplete() {
8
local line CURRENT_PROMPT="${COMP_WORDS[COMP_CWORD]}"
0 commit comments