Permalink
Browse files

Move some things into RPROMPT. Fixed-width PROMPT is nice.

  • Loading branch information...
1 parent 503af19 commit 96859faf0a95aa789fed06bc626bab79718174e6 @gabebw committed Mar 7, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 zsh/prompt.zsh
View
@@ -9,5 +9,6 @@ parse_git_dirty(){ [[ -n $(git status -s 2> /dev/null) ]] && echo ' ✗'; }
##########
# MUST wrap $fg in %{...%} or it creates weird errors with commands >1 line
# Use %f to reset color and use terminal default colors (set in Terminal prefs)
-export PROMPT="[\$(ruby_version)\$(git_branch)] %{$fg[blue]%}%~
-%{$fg[green]%}$%f "
+
+export PROMPT="[%{$fg[blue]%}%~%{$fg[black]%}] "
+export RPROMPT="\$(ruby_version)\$(git_branch)"

0 comments on commit 96859fa

Please sign in to comment.