Skip to content

Commit

Permalink
A few tweaks for my prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjl committed Jul 22, 2011
1 parent d160264 commit f378bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/prose.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ function box_name {

PROMPT='
%{$fg[magenta]%}%n%{$reset_color%} at %{$fg[yellow]%}$(box_name)%{$reset_color%} in %{$fg_bold[green]%}${PWD/#$HOME/~}%{$reset_color%}$(hg_prompt_info)$(git_prompt_info)
$(virtualenv_info)$ '
$(virtualenv_info)%(?,,%{${fg_bold[white]}%}[%?]%{$reset_color%} )$ '

ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}!"
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}?"
ZSH_THEME_GIT_PROMPT_CLEAN=""

local return_status="%{$fg[red]%}%(?..)%{$reset_color%}"
local return_status="%{$fg[red]%}%(?..)%{$reset_color%}"
RPROMPT='${return_status}%{$reset_color%}'

0 comments on commit f378bff

Please sign in to comment.