mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 16:18:00 +00:00
prompt/sorin: Minor cleanup and reordering
This commit is contained in:
parent
a43093119e
commit
bfe1815cbf
@ -144,16 +144,17 @@ function prompt_sorin_setup {
|
|||||||
zstyle ':prezto:module:git:info:keys' format \
|
zstyle ':prezto:module:git:info:keys' format \
|
||||||
'status' '%b %p %c:%s%A%B%S%a%d%m%r%U%u'
|
'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
|
# Set up non-zero return value display
|
||||||
local show_return="✘ "
|
local show_return="✘ "
|
||||||
# Default is to show the return value
|
# Default is to show the return value
|
||||||
if zstyle -T ':prezto:module:prompt' show-return-val; then
|
if zstyle -T ':prezto:module:prompt' show-return-val; then
|
||||||
show_return+='%? '
|
show_return+='%? '
|
||||||
fi
|
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=''
|
_sorin_cur_git_root=''
|
||||||
|
|
||||||
_prompt_sorin_git=''
|
_prompt_sorin_git=''
|
||||||
|
Loading…
Reference in New Issue
Block a user