diff --git a/cli/.config/zsh/prompt.zsh b/cli/.config/zsh/prompt.zsh index 9dc9c14..d59174b 100644 --- a/cli/.config/zsh/prompt.zsh +++ b/cli/.config/zsh/prompt.zsh @@ -43,7 +43,7 @@ precmd.is_git_repo() { } precmd.prompt.add() { - (( $# < 1 )) && return 1 + (( $# )) || return 1 typeset data=$1 color=$2 [[ -n $prompt_string ]] && prompt_string+=" " if [[ -n $color ]]; then