Skip to content
Merged
Changes from 1 commit
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
4 changes: 3 additions & 1 deletion completion/available/ssh.completion.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# 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//:/}
export COMP_WORDBREAKS=${COMP_WORDBREAKS//@/}

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