mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-24 13:10:07 +00:00
feat(chezmoi): add instant_prompt_chezmoi
This commit is contained in:
parent
7b19746580
commit
3ecef8c6a5
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue