summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2014-03-11 07:44:30 -0700
committerRobby Russell <robby@planetargon.com>2014-03-11 07:44:30 -0700
commit86a272ef81a1094d21dfdd1d38ad20e7347f389d (patch)
treee0850482ada32729c3a4e20e19f181d450bd40f1
parent48579ebf2bff8d41cd36f8eae72d526f2a9e1864 (diff)
parentc3c8cc318de898257fd7c5be6f862098966fbbdf (diff)
downloadzsh-86a272ef81a1094d21dfdd1d38ad20e7347f389d.tar.gz
zsh-86a272ef81a1094d21dfdd1d38ad20e7347f389d.tar.bz2
zsh-86a272ef81a1094d21dfdd1d38ad20e7347f389d.zip
Merge pull request #2596 from ryanwmarsh/fixing_bureau_scrollback
Fixes #2467 tab completion scrolls back in terminal when using bureau
-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