mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
add missing "return 0"
This commit is contained in:
parent
01320275d2
commit
8b8743c8ed
1 changed files with 2 additions and 1 deletions
|
@ -2333,6 +2333,7 @@ function _p9k_prompt_overflow_bug() {
|
||||||
[[ $ZSH_PATCHLEVEL =~ '^zsh-5\.4\.2-([0-9]+)-' ]] && return $(( match[1] < 159 ))
|
[[ $ZSH_PATCHLEVEL =~ '^zsh-5\.4\.2-([0-9]+)-' ]] && return $(( match[1] < 159 ))
|
||||||
is-at-least 5.7.2 && return 1
|
is-at-least 5.7.2 && return 1
|
||||||
[[ $ZSH_PATCHLEVEL =~ '^zsh-5\.7\.1-([0-9]+)-' ]] && return $(( match[1] >= 50 ))
|
[[ $ZSH_PATCHLEVEL =~ '^zsh-5\.7\.1-([0-9]+)-' ]] && return $(( match[1] >= 50 ))
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# Some people write POWERLEVEL9K_DIR_PATH_SEPARATOR='\uNNNN' instead of
|
# Some people write POWERLEVEL9K_DIR_PATH_SEPARATOR='\uNNNN' instead of
|
||||||
|
|
Loading…
Reference in a new issue