From 4c6a312761c15bf8dbe63cd1f87b96d4b4fc41e9 Mon Sep 17 00:00:00 2001 From: pika Date: Sat, 24 May 2025 02:52:35 +0200 Subject: [PATCH] addet more failproof gwip --- .zsh/.aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zsh/.aliases.zsh b/.zsh/.aliases.zsh index 7b1f047..a0f36e4 100644 --- a/.zsh/.aliases.zsh +++ b/.zsh/.aliases.zsh @@ -473,7 +473,7 @@ __git__() { # Check if there are any changes on the remote branch if git diff --quiet "$branch" "origin/$branch"; then - if [ -n "$2" ]; then + if [ -n $2 ]; then local commit_files="${1:-.}" local commit_message="${2:-wip}" else