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-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