Using variable PROMPT_EDGE to set the desired prompt character

ex: export PROMPT_EDGE="λ"
This commit is contained in:
Timothy Washington 2018-10-12 21:47:09 -07:00
parent 58809b2d21
commit 5219157c72

View file

@ -85,9 +85,10 @@ function prompt_steeef_setup {
zstyle ':prezto:module:python:info:virtualenv' format '(%v)' zstyle ':prezto:module:python:info:virtualenv' format '(%v)'
# Define prompts. # Define prompts.
PROMPT_EDGE=${PROMPT_EDGE:=\$}
PROMPT=" PROMPT="
${_prompt_steeef_colors[3]}%n%f at ${_prompt_steeef_colors[2]}%m%f in ${_prompt_steeef_colors[5]}%~%f "'${vcs_info_msg_0_}'" ${_prompt_steeef_colors[3]}%n%f at ${_prompt_steeef_colors[2]}%m%f in ${_prompt_steeef_colors[5]}%~%f "'${vcs_info_msg_0_}'"
"'$python_info[virtualenv]'"$ " "'$python_info[virtualenv]'"${PROMPT_EDGE} "
RPROMPT='' RPROMPT=''
} }