1
0
Fork 0

zsh: cosmetics

This commit is contained in:
Von Random 2024-05-06 17:07:10 +03:00
parent 220886b461
commit 4be0338156

View file

@ -43,7 +43,7 @@ precmd.is_git_repo() {
} }
precmd.prompt.add() { precmd.prompt.add() {
(( $# < 1 )) && return 1 (( $# )) || return 1
typeset data=$1 color=$2 typeset data=$1 color=$2
[[ -n $prompt_string ]] && prompt_string+=" " [[ -n $prompt_string ]] && prompt_string+=" "
if [[ -n $color ]]; then if [[ -n $color ]]; then