mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-14 00:50:08 +00:00
add POWERLEVEL9K_VCS_RECURSE_UNTRACKED_DIRS
This commit is contained in:
parent
ebf19dfeee
commit
b91cba49aa
1 changed files with 8 additions and 5 deletions
|
@ -4428,6 +4428,7 @@ _p9k_init_params() {
|
|||
_p9k_declare -i POWERLEVEL9K_VCS_CONFLICTED_MAX_NUM 1
|
||||
_p9k_declare -i POWERLEVEL9K_VCS_COMMITS_AHEAD_MAX_NUM -1
|
||||
_p9k_declare -i POWERLEVEL9K_VCS_COMMITS_BEHIND_MAX_NUM -1
|
||||
_p9k_declare -b POWERLEVEL9K_VCS_RECURSE_UNTRACKED_DIRS 0
|
||||
_p9k_declare -b POWERLEVEL9K_DISABLE_GITSTATUS 0
|
||||
_p9k_declare -e POWERLEVEL9K_VI_INSERT_MODE_STRING "INSERT"
|
||||
_p9k_declare -e POWERLEVEL9K_VI_COMMAND_MODE_STRING "NORMAL"
|
||||
|
@ -5063,6 +5064,7 @@ _p9k_init_vcs() {
|
|||
-d $_POWERLEVEL9K_VCS_UNTRACKED_MAX_NUM \
|
||||
-c $_POWERLEVEL9K_VCS_CONFLICTED_MAX_NUM \
|
||||
-m $_POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY \
|
||||
${${_POWERLEVEL9K_VCS_RECURSE_UNTRACKED_DIRS:#0}:+-e} \
|
||||
-a POWERLEVEL9K
|
||||
}"
|
||||
source ${gitstatus_dir}/gitstatus.plugin.zsh
|
||||
|
@ -5072,6 +5074,7 @@ _p9k_init_vcs() {
|
|||
-d $_POWERLEVEL9K_VCS_UNTRACKED_MAX_NUM \
|
||||
-c $_POWERLEVEL9K_VCS_CONFLICTED_MAX_NUM \
|
||||
-m $_POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY \
|
||||
${${_POWERLEVEL9K_VCS_RECURSE_UNTRACKED_DIRS:#0}:+-e} \
|
||||
POWERLEVEL9K || _p9k_gitstatus_disabled=1
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue