]> git.donarmstrong.com Git - zsh.git/commitdiff
asc function for road warrior ssh
authormartin f. krafft <madduck@madduck.net>
Wed, 3 Aug 2011 07:49:27 +0000 (09:49 +0200)
committermartin f. krafft <madduck@madduck.net>
Wed, 3 Aug 2011 07:49:27 +0000 (09:49 +0200)
.zsh/zshrc/30_aliases

index ca2047134b52feed74c30be05ad31c61374709d1..38ff2fb76d1b6db1fb16dffda0a187d554020407 100644 (file)
@@ -191,6 +191,9 @@ alias ipl='ip l'
 
 alias btd='btdownloadheadless'
 
+function asc () { autossh -t "$@" 'screen -dR' }
+compdef asc=ssh
+
 alias mdtest='swaks -s localhost -t'
 
 if whence devtodo >/dev/null; then