From b750756d7f8d412fc411d1605b724cc7d7e25cf2 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 13 May 2014 11:50:55 +0200 Subject: Switching to hostname command instead of echo HOST in irssi setup --- bin/irssi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/irssi b/bin/irssi index e357521..e041d11 100755 --- a/bin/irssi +++ b/bin/irssi @@ -1,7 +1,7 @@ #!/bin/bash # Script to start irssi within tmux with attached Nicklist in vertical split on right side -if [[ "$HOSTNAME" == *giev* ]]; then +if [[ $(hostname) == *frqrec* ]]; then tmux splitw -h -p 10 tmux send-keys "cat ~/.irssi/nicklistfifo" C-m tmux selectp -L -- cgit v1.2.3-70-g09d2