Skip to content

Commit

Permalink
Adding exit code to prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Boushley committed Sep 9, 2014
1 parent ee58c43 commit bd446d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zsh/custom/boushley.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ function box_name {


local current_dir='${PWD/#$HOME/~}'
local git_info='$(git_prompt_info)'


PROMPT="╭─%{$FG[040]%}%n%{$reset_color%}%{$FG[239]%}@%{$reset_color%}%{$FG[033]%}$(box_name)%{$reset_color%}%{$FG[239]%}:%{$reset_color%}%{$terminfo[bold]$FG[226]%}${current_dir}%{$reset_color%} %*
PROMPT="╭─%{$FG[040]%}%n%{$reset_color%}%{$FG[239]%}@%{$reset_color%}%{$FG[033]%}$(box_name)%{$reset_color%}%{$FG[239]%}:%{$reset_color%}%{$terminfo[bold]$FG[226]%}${current_dir}%{$reset_color%}${git_info} <%?> %*
╰─$(virtualenv_info)$(prompt_char) "

ZSH_THEME_GIT_PROMPT_PREFIX="%{$FG[239]%}:%{$reset_color%}%{$fg[255]%}"
Expand Down

0 comments on commit bd446d3

Please sign in to comment.