From c25605e0b426401518ee7e8bbf8db107a741bd8d Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 14 Feb 2011 11:28:28 +0000 Subject: [PATCH] Fix tmux session alias and remove site-specific stuff. The session alias should be defined when tmux is found but the last change introduced a logic flaw whereby it instead gets defined when krenew is found. Some site-specific stuff (/comm/tmux) shouldn't have found its way into master. --- .profile.d/tmux.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.profile.d/tmux.bashrc b/.profile.d/tmux.bashrc index b5ac757..abbbff7 100644 --- a/.profile.d/tmux.bashrc +++ b/.profile.d/tmux.bashrc @@ -1,7 +1,7 @@ # profile-requires: screen.bashrc # XXX: Use a module. -tmux=$(PATH=$PATH:/comm/tmux/stable/bin find_working tmux 2>/dev/null) -krenew=$(PATH=$PATH:/comm/kstart/stable/bin find_working krenew 2>/dev/null) +krenew=$(find_working krenew 2>/dev/null) +tmux=$(find_working tmux 2>/dev/null) if [ $? = 0 ]; then alias session="bigtmux $tmux has -t session 2>/dev/null && tmux attach -t session || ktmux -R $krenew -T $tmux -s session" if [ -n "$TMUX" ]; then -- 2.7.4