* cmd duration in starship config moved right after directory name

* automatic attach tmux for all cases include existing $TMUX variable, but only if contains double slash in the contain path (that is signal about parent TMUX session - may be unstable solution)
* reassign PATH variable in shell-env bashrc include script for resolve incorrect value of that if use pct enter command in proxmox
* information marker about turned off modifier key of nested session
This commit is contained in:
2023-08-31 09:16:42 +03:00
parent 67fb6961d9
commit e5b671f087
4 changed files with 10 additions and 3 deletions

View File

@ -79,6 +79,6 @@ export LC_ALL=en_US.UTF-8
export LANG=ru_RU.UTF-8
# auto into tmux session
if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then
if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] || [[ -n "$PS1" ]] && [[ $TMUX == *"//"* ]]; then
sudo tmux attach || sudo tmux
fi