From ef031e50c088347c40b3e16fea5198b13fb6641f Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 8 Apr 2024 22:30:52 +0900 Subject: [PATCH] test --- home-manager/common/software/cli/bash.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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