From 1dd05d81c36786cab1ddbc849d744a54690fbb44 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sat, 15 Mar 2025 20:47:04 +0100 Subject: fix: do not use exit in sourced scripts --- .bash/exec.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash/exec.bash b/.bash/exec.bash index a59df2a..713e1ab 100644 --- a/.bash/exec.bash +++ b/.bash/exec.bash @@ -20,4 +20,4 @@ fi # because on some hosts the login path is fucked, unset in .local # if it causes irritation: -cd ~ || cd || exit 151 +cd ~ || cd || return 151 -- cgit v1.2.3