mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-01 02:41:13 +00:00
Add preview function to sorin theme
This commit is contained in:
parent
bdec6c4e20
commit
f2a826e963
@ -136,4 +136,13 @@ function prompt_sorin_setup {
|
|||||||
SPROMPT='zsh: correct %F{1}%R%f to %F{2}%r%f [nyae]? '
|
SPROMPT='zsh: correct %F{1}%R%f to %F{2}%r%f [nyae]? '
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function prompt_sorin_preview {
|
||||||
|
local +h PROMPT=''
|
||||||
|
local +h RPROMPT=''
|
||||||
|
local +h SPROMPT=''
|
||||||
|
|
||||||
|
editor-info 2>/dev/null
|
||||||
|
prompt_preview_theme 'sorin'
|
||||||
|
}
|
||||||
|
|
||||||
prompt_sorin_setup "$@"
|
prompt_sorin_setup "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user