myshellconfig/bash_completion.d/sshserverconfig
Jakobus Schürz b7d3bd3023 try to fix bash_completions for ssh
sourcing only the first line gives error
    sshs bash: completion: Funktion `_ssh' nicht gefunden.
2020-03-11 18:10:42 +01:00

3 lines
254 B
Text

[ -e /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
[ -e /usr/share/bash-completion/completions/ssh ] && . /usr/share/bash-completion/completions/ssh
shopt -u hostcomplete && complete -F _ssh sshserverconfig