mirror of https://github.com/akelge/zsh
Fix title and removed stale aws prompt
This commit is contained in:
parent
0a73e27f24
commit
ad71b2b2bd
|
@ -220,7 +220,7 @@ prompt_pure_precmd() {
|
|||
unset prompt_pure_cmd_timestamp
|
||||
|
||||
# Shows the full path in the title.
|
||||
prompt_pure_set_title 'expand-prompt' '%~'
|
||||
prompt_pure_set_title 'expand-prompt' '%2.'
|
||||
|
||||
# Modify the colors if some have changed..
|
||||
prompt_pure_set_colors
|
||||
|
@ -242,11 +242,6 @@ prompt_pure_precmd() {
|
|||
export VIRTUAL_ENV_DISABLE_PROMPT=12
|
||||
fi
|
||||
|
||||
# psvar[13]=
|
||||
# if [[ -n $AWS_PROFILE ]]; then
|
||||
# psvar[13]="|${AWS_PROFILE}|"
|
||||
# fi
|
||||
|
||||
# Make sure VIM prompt is reset.
|
||||
prompt_pure_reset_prompt_symbol
|
||||
|
||||
|
@ -788,7 +783,6 @@ prompt_pure_setup() {
|
|||
|
||||
# If a virtualenv is activated, display it in grey.
|
||||
PROMPT='%(12V.%F{$prompt_pure_colors[virtualenv]}%12v%f .)'
|
||||
# PROMPT+='%(13V.%F{$prompt_pure_colors[aws]}%13v%f .)'
|
||||
|
||||
# Prompt turns red if the previous command didn't exit with 0.
|
||||
local prompt_indicator='%(?.%F{$prompt_pure_colors[prompt:success]}.%F{$prompt_pure_colors[prompt:error]})${prompt_pure_state[prompt]}%f '
|
||||
|
|
Loading…
Reference in New Issue