From 434c40597b9ac2646bb0c282040b25f0029e4476 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 16 Dec 2024 17:12:33 +0000 Subject: [PATCH] Don't exit on error As this file is sourced, it affects all subsequent shells created in the current session. --- nix/modules/home-manager/features/cli/tmux-sessionizer.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/modules/home-manager/features/cli/tmux-sessionizer.nix b/nix/modules/home-manager/features/cli/tmux-sessionizer.nix index c2e15c3..fed891d 100644 --- a/nix/modules/home-manager/features/cli/tmux-sessionizer.nix +++ b/nix/modules/home-manager/features/cli/tmux-sessionizer.nix @@ -22,6 +22,7 @@ with lib; ]; text = '' + set +o errexit set +o nounset if [[ "$PWD" == "$REPOS/os" || "$PWD" == "$REPOS/personal" ]]; then