diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index b902e01f..28890e80 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -6,10 +6,10 @@ enable = true; shellInit = '' set fish_greeting - ''; - interactiveShellInit = '' set EDITOR vim ssh-add > /dev/null &> /dev/null + ''; + interactiveShellInit = '' if not set -q TMUX && not set -q DISABLE_TMUX if tmux has-session -t Main exec tmux attach-session -t Main