mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 19:48:00 +00:00
[modsorin] Change AWS prompt
This commit is contained in:
parent
e9e8c31217
commit
048d5302d6
@ -163,7 +163,7 @@ function prompt_sorin_setup {
|
||||
zstyle ':prezto:module:openstack:info:tenant' format '%f%F{3}[%v]%F{7}'
|
||||
|
||||
# Set aws-info parameters
|
||||
zstyle ':prezto:module:aws:info:profile' format '%f%F{2} %v%F{7}'
|
||||
zstyle ':prezto:module:aws:info:profile' format '%f%F{4} %v%F{7}'
|
||||
|
||||
# Set up non-zero return value display
|
||||
local show_return="✘ "
|
||||
@ -180,7 +180,7 @@ function prompt_sorin_setup {
|
||||
|
||||
# Define prompts.
|
||||
PROMPT='${SSH_TTY:+"%F{9}%n%f%F{7}@%f%F{3}%m%f "}%F{4}${_prompt_sorin_pwd}%(!. %B%F{1}#%f%b.)${editor_info[keymap]} '
|
||||
RPROMPT='${aws_info:+${aws_info[profile]} }${os_info:+${os_info[tenant]} }$python_info[virtualenv]${editor_info[overwrite]}%(?:: %F{1}'
|
||||
RPROMPT='${os_info:+${os_info[tenant]} }${aws_info:+${aws_info[profile]} }$python_info[virtualenv]${editor_info[overwrite]}%(?:: %F{1}'
|
||||
RPROMPT+=${show_return}
|
||||
RPROMPT+='%f)${VIM:+" %B%F{6}V%f%b"}${_prompt_sorin_git}'
|
||||
SPROMPT='zsh: correct %F{1}%R%f to %F{2}%r%f [nyae]? '
|
||||
|
Loading…
Reference in New Issue
Block a user