This commit is contained in:
Jakobus Schürz 2021-02-02 10:49:23 +01:00
parent 933683ea29
commit 93bfa52113

View file

@ -83,11 +83,11 @@ if ! $SSHS; then
# Start tmux if not defined as STARTTMUX in bashrc
logwarn -n "attach tmux?"
if test ! $TMUX && test $SSH_TTY && test $TERM != screen && test $(systemctl status tmux@${USER}.service 1>/dev/null 2>&1; echo $? ) -eq 0; then
STARTTMUXDEFAULT=${STARTTMUXREMOTEDEFAULT}
logwarn "${STARTTMUXDEFAULT}"
: # STARTTMUXDEFAULT=${STARTTMUXREMOTEDEFAULT}
else
logwarn "no"
STARTTMUXDEFAULT=${STARTTMUXREMOTEDEFAULT}
fi
logwarn "${STARTTMUXDEFAULT}"
unset -f pathmunge