summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Marsh <ryan.marsh@mac.com>2014-03-10 18:36:51 -0500
committerRyan Marsh <ryan.marsh@mac.com>2014-03-10 18:36:51 -0500
commitc3c8cc318de898257fd7c5be6f862098966fbbdf (patch)
tree9a468eb1b09e7f1d84543dd229e19cf3fefb69b0
parent4ce7f0a37f9a13c605225e2a595ad1bdf6171065 (diff)
downloadzsh-c3c8cc318de898257fd7c5be6f862098966fbbdf.tar.gz
zsh-c3c8cc318de898257fd7c5be6f862098966fbbdf.tar.bz2
zsh-c3c8cc318de898257fd7c5be6f862098966fbbdf.zip
Fixes #2467 tab completion scrolls back in terminal when using bureau theme
-rw-r--r--themes/bureau.zsh-theme6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/bureau.zsh-theme b/themes/bureau.zsh-theme
index 1d88f54d0..4d9cae0cc 100644
--- a/themes/bureau.zsh-theme
+++ b/themes/bureau.zsh-theme
@@ -101,12 +101,12 @@ _1RIGHT="[%*] "
bureau_precmd () {
_1SPACES=`get_space $_1LEFT $_1RIGHT`
- echo
+ print
+ print -rP "$_1LEFT$_1SPACES$_1RIGHT"
}
setopt prompt_subst
-PROMPT='$_1LEFT$_1SPACES$_1RIGHT
-> $_LIBERTY '
+PROMPT='> $_LIBERTY '
RPROMPT='$(nvm_prompt_info) $(bureau_git_prompt)'
autoload -U add-zsh-hook