1
0

Do not tmux attach when sudoing

This commit is contained in:
2025-05-03 14:52:16 +01:00
parent f251bcbf08
commit 1a227e1971

View File

@@ -135,7 +135,7 @@ export MANPAGER='nvim +Man!'
test -r $HOME/.bashrc-local && . $HOME/.bashrc-local test -r $HOME/.bashrc-local && . $HOME/.bashrc-local
if [ -z "$TMUX" ] if [ -z "SUDO_USER" -a -z "$TMUX" ]
then then
tmux attach-session -t default || tmux new-session -s default tmux attach-session -t default || tmux new-session -s default
fi fi