From bd554f146099ec51fff474ea75e4ef49bfe686b9 Mon Sep 17 00:00:00 2001 From: yage Date: Mon, 11 Mar 2024 20:55:14 -0600 Subject: [PATCH] v4.1.4 ===================================================================== --- Bug Fixes ---------------------------- - removed an error message when using installation through aur --- zsh/lib/config.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/lib/config.zsh b/zsh/lib/config.zsh index 7fa00a1..d236a6c 100644 --- a/zsh/lib/config.zsh +++ b/zsh/lib/config.zsh @@ -2,7 +2,7 @@ ##################################################################### [ ! $SCWRYPTS_ROOT ] \ - && SCWRYPTS_ROOT="$(cd $(dirname "${0:a:h}"); git rev-parse --show-toplevel)" + && SCWRYPTS_ROOT="$(cd $(dirname "${0:a:h}"); git rev-parse --show-toplevel 2>/dev/null)" [ ! $SCWRYPTS_ROOT ] && [ -d /usr/share/scwrypts ] \ && SCWRYPTS_ROOT=/usr/share/scwrypts