aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-05-13 11:50:55 +0200
committerDavid Runge <david.runge@frqrec.com>2014-05-13 11:50:55 +0200
commitb750756d7f8d412fc411d1605b724cc7d7e25cf2 (patch)
treef0f2d939670c23d798ad66ec3f0148bd3296dae8
parent2f7990484a94692f42b7f334868b207e41392e95 (diff)
downloaddotfiles-b750756d7f8d412fc411d1605b724cc7d7e25cf2.tar.gz
dotfiles-b750756d7f8d412fc411d1605b724cc7d7e25cf2.tar.bz2
dotfiles-b750756d7f8d412fc411d1605b724cc7d7e25cf2.tar.xz
dotfiles-b750756d7f8d412fc411d1605b724cc7d7e25cf2.zip
Switching to hostname command instead of echo HOST in irssi setup
-rwxr-xr-xbin/irssi2
1 files changed, 1 insertions, 1 deletions
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