mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-01-29 21:03:51 +02:00
feat(chezmoi): add instant_prompt_chezmoi
This commit is contained in:
parent
7b19746580
commit
3ecef8c6a5
@ -4271,6 +4271,10 @@ _p9k_prompt_chezmoi_init() {
|
||||
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
|
||||
# More information on virtualenv (Python):
|
||||
|
Loading…
x
Reference in New Issue
Block a user