Reorganise bash files

This commit is contained in:
2021-03-23 17:33:12 +00:00
parent 8953f73b6d
commit d58e38cbc8
5 changed files with 65 additions and 54 deletions

View File

@@ -0,0 +1,2 @@
# SSH completion based on ssh config
[ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2- | tr ' ' '\n')" scp sftp ssh;