aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-05-28 01:14:44 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-05-28 01:14:44 +0300
commit710267c74257f1264e6f6d5ff3df04294e596338 (patch)
treef26c7e4895a8767bf75f757fde264ed560ed4c59 /powerlevel9k.zsh-theme
parent7f08e8a053f6850720886aad76b5a112e56126f8 (diff)
fix a silly bug in newline
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index b7a81e6e..866cf46c 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -411,7 +411,7 @@ function _p9k_left_prompt_end_line() {
_P9K_PROMPT+="\${_P9K_T[\$_P9K_N]}"
_P9K_PROMPT+="%f$1%f%k%b"
- (( ! _P9K_RPROMPT_DONE )) || return
+ (( ! _P9K_RPROMPT_DONE )) || return 0
_P9K_PROMPT+=$_P9K_ALIGNED_RPROMPT
_P9K_RPROMPT_DONE=1
(( ${ZLE_RPROMPT_INDENT:-1} > 0 ))