15 lines
319 B
15 lines
319 B
# |
|
# ~/.bash_profile |
|
# |
|
|
|
|
|
[[ -f ~/.bashrc ]] && . ~/.bashrc |
|
|
|
|
|
|
|
source ~/.dotfiles/shells/profile |
|
|
|
|
|
# tab completion for ssh hosts |
|
complete -o default -o nospace -W "$(/usr/bin/env ruby -ne 'puts $_.split(/[,\s]+/)[1..-1].reject{|host| host.match(/\*|\?/)} if $_.match(/^\s*Host\s+/);' < $HOME/.ssh/config)" scp sftp ssh |
|
|
|
|