From 42c85f44681cdddad49f5148bbaf47d7237f4a90 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 11 May 2026 20:04:54 -0400 Subject: [PATCH] fix: local keyword invalid outside function, use plain variable --- install_nvchad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_nvchad.sh b/install_nvchad.sh index 0eaa314..849ae04 100755 --- a/install_nvchad.sh +++ b/install_nvchad.sh @@ -46,7 +46,7 @@ if [ -d "$NVIM_CONFIG/.git" ]; then EXISTING_REMOTE=$(git -C "$NVIM_CONFIG" remote get-url "$REMOTE_NAME" 2>/dev/null || echo "") if [ "$EXISTING_REMOTE" = "$REPO" ]; then echo "NvChad config already installed — pulling latest..." - local stashed=false + stashed=false if ! git -C "$NVIM_CONFIG" diff --quiet || ! git -C "$NVIM_CONFIG" diff --cached --quiet; then git -C "$NVIM_CONFIG" stash stashed=true