mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
move default prompt definitions to the top
This commit is contained in:
parent
0b56d123ec
commit
9d7aa4e530
1 changed files with 3 additions and 3 deletions
|
@ -69,6 +69,9 @@ source "${p9k_directory}/functions/vcs.zsh"
|
||||||
# cleanup temporary variables.
|
# cleanup temporary variables.
|
||||||
unset p9k_directory
|
unset p9k_directory
|
||||||
|
|
||||||
|
[[ -v POWERLEVEL9K_LEFT_PROMPT_ELEMENTS ]] || POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir vcs)
|
||||||
|
[[ -v POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS ]] || POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs history time)
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
# Color Scheme
|
# Color Scheme
|
||||||
################################################################
|
################################################################
|
||||||
|
@ -2136,9 +2139,6 @@ prompt_powerlevel9k_setup() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
defined POWERLEVEL9K_LEFT_PROMPT_ELEMENTS || POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir vcs)
|
|
||||||
defined POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS || POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs history time)
|
|
||||||
|
|
||||||
# Display a warning if deprecated segments are in use.
|
# Display a warning if deprecated segments are in use.
|
||||||
typeset -AH deprecated_segments
|
typeset -AH deprecated_segments
|
||||||
# old => new
|
# old => new
|
||||||
|
|
Loading…
Reference in a new issue