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