root@server:/etc/profile.d# cat tmux.sh
# Automatically start tmux or attach old session
[ "$TMUXFLAG" == "on" ] && [ -z $TMUX ] && [ "$TERM" != "dumb" ] && exec tmux new -A -s default
root@server# grep TMUX /etc/sudoers
Defaults env_keep += "TMUX"
root@server# grep ward-word /etc/inputrc
"\eOD": backward-word
"\eOC": forward-word
mico@client ~
$ grep TMUX .ssh/*
.ssh/config: SetEnv TMUXFLAG="on"
Nessun commento:
Posta un commento