Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion completion/available/ssh.completion.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# shellcheck shell=bash
# Bash completion support for ssh.

export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}
# Remove : and @ from COMP_WORDBREAKS to support user@host completion
export COMP_WORDBREAKS=${COMP_WORDBREAKS//[:@]/}

_sshcomplete() {
local line CURRENT_PROMPT="${COMP_WORDS[COMP_CWORD]}"
Expand Down
Loading