aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-05-29 10:45:48 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-05-29 10:45:48 +0300
commit8b8743c8edc548981274184cfc922757e99df0ea (patch)
treede95a08d17f265f29cbdf62660f39505fd63bba8 /powerlevel9k.zsh-theme
parent01320275d234f7c39f65ebc374f00249fb9fa9b2 (diff)
add missing "return 0"
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme3
1 files changed, 2 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index a7a90193..5452441e 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -2332,7 +2332,8 @@ function _p9k_prompt_overflow_bug() {
is-at-least 5.4.2 || return 1
[[ $ZSH_PATCHLEVEL =~ '^zsh-5\.4\.2-([0-9]+)-' ]] && return $(( match[1] < 159 ))
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