X-Git-Url: http://id.pley.net/dotfiles.git/blobdiff_plain/13ecc0fef880c1e4a13dd444b2ef3de7c1b00656..97c466170da3f0b5deef48bbbb706409239da41e:/.aliases?ds=sidebyside diff --git a/.aliases b/.aliases index 77c68f0..12b6b6d 100755 --- a/.aliases +++ b/.aliases @@ -93,6 +93,6 @@ function _ssh_screen () { ssh -t $HOST screen $DISCONNECT $RECONNECT } -for host in ssh_hosts=$( grep '^Host[ ][^*]' ~/.ssh/config | cut -c 6- ); do +for host in $( grep '^Host[ ][^*]' ~/.ssh/config | cut -c 6- ); do alias "$host"="_ssh_screen $host $@" done