add debug
This commit is contained in:
parent
df9a7c3ec4
commit
15e65e15a9
1 changed files with 5 additions and 1 deletions
|
@ -80,8 +80,12 @@ if ! $SSHS; then
|
|||
#cd ${HOME}
|
||||
|
||||
# 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}
|
||||
STARTTMUXDEFAULT=${STARTTMUXREMOTEDEFAULT}
|
||||
logwarn "${STARTTMUXDEFAULT}"
|
||||
else
|
||||
logwarn "no"
|
||||
fi
|
||||
|
||||
unset -f pathmunge
|
||||
|
|
Loading…
Reference in a new issue