Skip to content

Commit

Permalink
prompt/sorin: Minor cleanup and reordering
Browse files Browse the repository at this point in the history
  • Loading branch information
indrajitr committed Oct 18, 2018
1 parent a430931 commit bfe1815
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/prompt/functions/prompt_sorin_setup
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,17 @@ function prompt_sorin_setup {
zstyle ':prezto:module:git:info:keys' format \
'status' '%b %p %c:%s%A%B%S%a%d%m%r%U%u'

# Set python-info parameters.
zstyle ':prezto:module:python:info:virtualenv' format '%f%F{3}(%v)%F{7} '

# Set up non-zero return value display
local show_return="✘ "
# Default is to show the return value
if zstyle -T ':prezto:module:prompt' show-return-val; then
show_return+='%? '
fi
# Set python-info format
zstyle ':prezto:module:python:info:virtualenv' format '%f%F{3}(%v)%F{7} '

# Get the async worker set up
# Get the async worker set up.
_sorin_cur_git_root=''

_prompt_sorin_git=''
Expand Down

0 comments on commit bfe1815

Please sign in to comment.