X-Git-Url: http://id.pley.net/dotfiles.git/blobdiff_plain/13ecc0fef880c1e4a13dd444b2ef3de7c1b00656..25bfdff2cb6ecc3c4a695fd032bb1e5f6c4c65ff:/.aliases 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