]> git.rmz.io Git - dotfiles.git/commitdiff
bit: create weechat new-session if none exist
authorSamir Benmendil <samir.benmendil@gmail.com>
Fri, 20 Feb 2015 23:13:54 +0000 (23:13 +0000)
committerSamir Benmendil <samir.benmendil@gmail.com>
Fri, 20 Feb 2015 23:13:54 +0000 (23:13 +0000)
bin/weechat

index f6296b291e8e28b186342c4b747807a1d6d007f1..288adcbf4e67508b2e169fd5ea80b7976466c404 100755 (executable)
@@ -2,4 +2,4 @@
 
 host=tardis.rmz.io
 
-autossh -M0 -t $host "tmux -u attach -t weechat"
+autossh -M0 -t $host "tmux -u new-session -As weechat weechat"