feat(chezmoi): add instant_prompt_chezmoi

pull/2311/head
Alkindi42 2 years ago
parent 7b19746580
commit 3ecef8c6a5

@ -4271,6 +4271,10 @@ _p9k_prompt_chezmoi_init() {
typeset -g "_p9k__segment_cond_${_p9k__prompt_side}[_p9k__segment_index]"='$CHEZMOI' typeset -g "_p9k__segment_cond_${_p9k__prompt_side}[_p9k__segment_index]"='$CHEZMOI'
} }
function instant_prompt_chezmoi() {
_p9k_prompt_segment prompt_chezmoi "black" "white" CHEZMOI_ICON 0 '' 'chezmoi'
}
################################################################ ################################################################
# Virtualenv: current working virtualenv # Virtualenv: current working virtualenv
# More information on virtualenv (Python): # More information on virtualenv (Python):

Loading…
Cancel
Save