From a684c4ae9420d4b2210f0c8214948b6d74cad281 Mon Sep 17 00:00:00 2001 From: Alexander Shevtsov Date: Wed, 19 Mar 2025 04:36:30 +0100 Subject: [PATCH] returned back grep for shell detection --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 892acc2..1bc50cd 100644 --- a/install.sh +++ b/install.sh @@ -51,7 +51,7 @@ add_to_path() { local reload_needed=false # Detect shell configuration file based on $SHELL environment variable - if [[ "$SHELL" == */zsh ]]; then + if echo "$SHELL" | grep -q "zsh"; then shell_rc="$HOME/.zshrc" shell_type="zsh" else