zsh: cosmetics
This commit is contained in:
parent
220886b461
commit
4be0338156
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue