From 2024f587ed7c17152426430911a48249d73c3761 Mon Sep 17 00:00:00 2001 From: ranomier Date: Sat, 14 Dec 2024 15:54:11 +0100 Subject: [PATCH] even though i have set -e let's make sure cd can fail --- nswitch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nswitch b/nswitch index ed2c3ec..2b20694 100755 --- a/nswitch +++ b/nswitch @@ -5,7 +5,7 @@ set -E -o pipefail shopt -s failglob export LC_ALL=C.UTF8 -cd ~/Projects/NixOS/ +cd ~/Projects/NixOS/ || exit 1 nvim printf ">>> auto formating ..."