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