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