diff --git a/home-manager/common/software/cli/bash.nix b/home-manager/common/software/cli/bash.nix index f91838eb..9e444d7e 100644 --- a/home-manager/common/software/cli/bash.nix +++ b/home-manager/common/software/cli/bash.nix @@ -37,7 +37,10 @@ GPG_TTY=$(tty) EDITOR=vim ssh-add > /dev/null &> /dev/null - [[ -z "$TMUX" && "$DISABLE_TMUX" = "true" ]] && { tmux attach || exec tmux new-session && exit;} + source ~/.profile + if [ -z "$DISABLE_TMUX" ] && [ -z "$TMUX" ] ; then + tmux attach || exec tmux new-session && exit + fi ''; sessionVariables = { # Set the GTK Theme