|
|
@ -26,8 +26,8 @@ function prompt_sorin_setup {
|
|
|
|
add-zsh-hook precmd prompt_sorin_precmd
|
|
|
|
add-zsh-hook precmd prompt_sorin_precmd
|
|
|
|
|
|
|
|
|
|
|
|
zstyle ':omz:module:editor' completing '%B%F{red}...%f%b'
|
|
|
|
zstyle ':omz:module:editor' completing '%B%F{red}...%f%b'
|
|
|
|
zstyle ':omz:prompt:vi' insert ''
|
|
|
|
zstyle ':omz:module:editor:keymap' primary ''
|
|
|
|
zstyle ':omz:prompt:vi' command ' %F{yellow}❮%f%B%F{red}❮%f%b%F{red}❮%f'
|
|
|
|
zstyle ':omz:module:editor:keymap' alternate ' %F{yellow}❮%f%B%F{red}❮%f%b%F{red}❮%f'
|
|
|
|
zstyle ':omz:module:git:prompt' action ':%%B%F{yellow}%s%f%%b'
|
|
|
|
zstyle ':omz:module:git:prompt' action ':%%B%F{yellow}%s%f%%b'
|
|
|
|
zstyle ':omz:module:git:prompt' added ' %%B%F{green}✚%f%%b'
|
|
|
|
zstyle ':omz:module:git:prompt' added ' %%B%F{green}✚%f%%b'
|
|
|
|
zstyle ':omz:module:git:prompt' ahead ' %%B%F{yellow}⬆%f%%b'
|
|
|
|
zstyle ':omz:module:git:prompt' ahead ' %%B%F{yellow}⬆%f%%b'
|
|
|
@ -45,7 +45,7 @@ function prompt_sorin_setup {
|
|
|
|
zstyle ':omz:module:git:prompt' rprompt '%A%B%S%a%d%m%r%U%u'
|
|
|
|
zstyle ':omz:module:git:prompt' rprompt '%A%B%S%a%d%m%r%U%u'
|
|
|
|
|
|
|
|
|
|
|
|
PROMPT='%F{cyan}%1~%f${(e)git_prompt_info} %(!.%B%F{red}#%f%b.%B%F{green}❯%f%b) '
|
|
|
|
PROMPT='%F{cyan}%1~%f${(e)git_prompt_info} %(!.%B%F{red}#%f%b.%B%F{green}❯%f%b) '
|
|
|
|
RPROMPT='${vi_prompt_info}%(?:: %F{red}⏎%f)${VIM:+" %B%F{green}V%f%b"}${git_rprompt_info}'
|
|
|
|
RPROMPT='${editor_keymap_info}%(?:: %F{red}⏎%f)${VIM:+" %B%F{green}V%f%b"}${git_rprompt_info}'
|
|
|
|
SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? '
|
|
|
|
SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? '
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|