From b817dc0673e8ed90f0049041b0dfa56576aae1ca Mon Sep 17 00:00:00 2001 From: "David Todd (c0de)" Date: Sat, 19 May 2018 20:11:22 -0500 Subject: [PATCH] Use more sane variable name --- shell/env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/env b/shell/env index 2420ced..8f1dacd 100644 --- a/shell/env +++ b/shell/env @@ -22,7 +22,7 @@ export DISABLE_DOTFILES_UPDATE_PROMPT="FALSE" export UPDATE_DOTFILES_DAYS=13 # Whether or not to automatically connect to a TMUX session when opening the shell -export DISABLE_TMUXAC="TRUE" +export ENABLE_TMUXAC="TRUE" # If there is not an active tmux session, we probably want one # Otherwise, the shell will not open the session again (eg. opening tabs, new terminals) @@ -33,6 +33,6 @@ else fi # Automatically attach tmux session "C0DE" -if [[ -z "$TMUX" && "$TMUXATT" != "TRUE" && "$DISABLE_TMUXAC" != "FALSE" ]]; then +if [[ -z "$TMUX" && "$TMUXATT" != "TRUE" && "$ENABLE_TMUXAC" != "FALSE" ]]; then tmux attach -t C0DE || tmux new -s C0DE fi