Disable TMUX attaching on shell open
I found that this can be fairly annoying. Perhaps add an env variable (or something) if I want to use auto attach
This commit is contained in:
parent
02aa366622
commit
c3831f3e7d
@ -21,7 +21,8 @@ export DISABLE_DOTFILES_UPDATE_PROMPT="FALSE"
|
||||
# Update every 2 weeks (OMZ default)
|
||||
export UPDATE_DOTFILES_DAYS=13
|
||||
|
||||
# Disabled for now because I've found this fairly annoying on macos with iTerm2
|
||||
# Automatically attach tmux session "C0DE" upon entering a shell
|
||||
if [[ -z "$TMUX" ]]; then
|
||||
tmux attach -t C0DE || tmux new -s C0DE
|
||||
fi
|
||||
# if [[ -z "$TMUX" ]]; then
|
||||
# tmux attach -t C0DE || tmux new -s C0DE
|
||||
# fi
|
||||
|
Loading…
Reference in New Issue
Block a user