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