From c3831f3e7d4c5c045f14f676555aec6f53f48f7a Mon Sep 17 00:00:00 2001 From: "David Todd (c0de)" Date: Wed, 16 May 2018 16:43:54 -0500 Subject: [PATCH] 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 --- shell/env | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/shell/env b/shell/env index c92fe1a..8afbf81 100644 --- a/shell/env +++ b/shell/env @@ -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