try to fix bash_completions for ssh
sourcing only the first line gives error sshs bash: completion: Funktion `_ssh' nicht gefunden.
This commit is contained in:
parent
467aa2e534
commit
b7d3bd3023
3 changed files with 3 additions and 0 deletions
|
@ -1,2 +1,3 @@
|
||||||
[ -e /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
|
[ -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 sshmyshellconfig
|
shopt -u hostcomplete && complete -F _ssh sshmyshellconfig
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
[ -e /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
|
[ -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 sshs
|
shopt -u hostcomplete && complete -F _ssh sshs
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
[ -e /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
|
[ -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
|
shopt -u hostcomplete && complete -F _ssh sshserverconfig
|
||||||
|
|
Loading…
Reference in a new issue