commit 5336cbcd750c90390b59ed4d178ef3a949ddbf64 parent 194ba0d242c8a83110e462560de01c8a5b0e3916 Author: Cem Keylan <cem@ckyln.com> Date: Wed, 12 Feb 2020 15:15:54 +0300 simpler testing Diffstat:
M | sb | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sb b/sb @@ -33,9 +33,9 @@ exit 0 esac -[ "$noconfig" -eq 0 ] && [ -e "$HOME/.config/sbrc" ] && . "$HOME/.config/sbrc" -[ -z "$DELIMITER" ] && DELIMITER="|" -[ -z "$SLEEPTIME" ] && SLEEPTIME="1" +[ "$noconfig" ] || { [ -e "$HOME/.config/sbrc" ] && . "$HOME/.config/sbrc" ;} +[ "$DELIMITER" ] || DELIMITER="|" +[ "$SLEEPTIME" ] || SLEEPTIME="1" for func in "$FUNCPATH/"* ; do [ -f "$func" ] && . "$func"; done for func in "$HOME/.config/sb-func/"* ; do