|
|
@ -1,4 +1,4 @@
|
|
|
|
if [[ $__p9k_sourced != 11 ]]; then
|
|
|
|
if [[ $__p9k_sourced != 12 ]]; then
|
|
|
|
>&2 print -P ""
|
|
|
|
>&2 print -P ""
|
|
|
|
>&2 print -P "[%F{1}ERROR%f]: Corrupted powerlevel10k installation."
|
|
|
|
>&2 print -P "[%F{1}ERROR%f]: Corrupted powerlevel10k installation."
|
|
|
|
>&2 print -P ""
|
|
|
|
>&2 print -P ""
|
|
|
@ -7882,7 +7882,16 @@ _p9k_init_vcs() {
|
|
|
|
_p9k_segment_in_use vcs || return
|
|
|
|
_p9k_segment_in_use vcs || return
|
|
|
|
_p9k_vcs_info_init
|
|
|
|
_p9k_vcs_info_init
|
|
|
|
if (( $+functions[_p9k_preinit] )); then
|
|
|
|
if (( $+functions[_p9k_preinit] )); then
|
|
|
|
(( $+GITSTATUS_DAEMON_PID_POWERLEVEL9K )) && gitstatus_start_p9k_ POWERLEVEL9K
|
|
|
|
if (( $+GITSTATUS_DAEMON_PID_POWERLEVEL9K )); then
|
|
|
|
|
|
|
|
() {
|
|
|
|
|
|
|
|
trap 'return 130' INT
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
gitstatus_start_p9k_ POWERLEVEL9K
|
|
|
|
|
|
|
|
} always {
|
|
|
|
|
|
|
|
trap ':' INT
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
fi
|
|
|
|
return 0
|
|
|
|
return 0
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
(( _POWERLEVEL9K_DISABLE_GITSTATUS )) && return
|
|
|
|
(( _POWERLEVEL9K_DISABLE_GITSTATUS )) && return
|
|
|
@ -7910,6 +7919,9 @@ _p9k_init_vcs() {
|
|
|
|
-a POWERLEVEL9K
|
|
|
|
-a POWERLEVEL9K
|
|
|
|
}"
|
|
|
|
}"
|
|
|
|
source $gitstatus_dir/gitstatus.plugin.zsh _p9k_ || return
|
|
|
|
source $gitstatus_dir/gitstatus.plugin.zsh _p9k_ || return
|
|
|
|
|
|
|
|
() {
|
|
|
|
|
|
|
|
trap 'return 130' INT
|
|
|
|
|
|
|
|
{
|
|
|
|
gitstatus_start_p9k_ \
|
|
|
|
gitstatus_start_p9k_ \
|
|
|
|
-s $_POWERLEVEL9K_VCS_STAGED_MAX_NUM \
|
|
|
|
-s $_POWERLEVEL9K_VCS_STAGED_MAX_NUM \
|
|
|
|
-u $_POWERLEVEL9K_VCS_UNSTAGED_MAX_NUM \
|
|
|
|
-u $_POWERLEVEL9K_VCS_UNSTAGED_MAX_NUM \
|
|
|
@ -7918,6 +7930,10 @@ _p9k_init_vcs() {
|
|
|
|
-m $_POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY \
|
|
|
|
-m $_POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY \
|
|
|
|
${${_POWERLEVEL9K_VCS_RECURSE_UNTRACKED_DIRS:#0}:+-e} \
|
|
|
|
${${_POWERLEVEL9K_VCS_RECURSE_UNTRACKED_DIRS:#0}:+-e} \
|
|
|
|
POWERLEVEL9K
|
|
|
|
POWERLEVEL9K
|
|
|
|
|
|
|
|
} always {
|
|
|
|
|
|
|
|
trap ':' INT
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_p9k_init() {
|
|
|
|
_p9k_init() {
|
|
|
|