Browse Source

Merge pull request #2596 from ryanwmarsh/fixing_bureau_scrollback

Fixes #2467 tab completion scrolls back in terminal when using bureau
Robby Russell 11 years ago
parent
commit
86a272ef81
1 changed files with 3 additions and 3 deletions
  1. 3 3
      themes/bureau.zsh-theme

+ 3 - 3
themes/bureau.zsh-theme

@@ -101,12 +101,12 @@ _1RIGHT="[%*] "
 
 
 bureau_precmd () {
 bureau_precmd () {
   _1SPACES=`get_space $_1LEFT $_1RIGHT`
   _1SPACES=`get_space $_1LEFT $_1RIGHT`
-  echo
+  print 
+  print -rP "$_1LEFT$_1SPACES$_1RIGHT"
 }
 }
 
 
 setopt prompt_subst
 setopt prompt_subst
-PROMPT='$_1LEFT$_1SPACES$_1RIGHT
-> $_LIBERTY '
+PROMPT='> $_LIBERTY '
 RPROMPT='$(nvm_prompt_info) $(bureau_git_prompt)'
 RPROMPT='$(nvm_prompt_info) $(bureau_git_prompt)'
 
 
 autoload -U add-zsh-hook
 autoload -U add-zsh-hook