mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-22 15:29:22 +00:00
Reorganise bash files
This commit is contained in:
2
bash/.bash/completions.bash
Normal file
2
bash/.bash/completions.bash
Normal 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;
|
||||
Reference in New Issue
Block a user