Browse Source

* do not use sudo for attach tmux session on logged in non-privileged users

master
dimti 1 month ago
parent
commit
eaf3ef3806
  1. 2
      .bashrc

2
.bashrc

@ -80,5 +80,5 @@ export LANG=ru_RU.UTF-8
# auto into tmux session
if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then
sudo tmux attach || sudo tmux
tmux attach || tmux
fi
Loading…
Cancel
Save