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