mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-19 14:01:57 +00:00
do not set POWERLEVEL9K_VCS_STATUS_COMMAND
This commit is contained in:
parent
88f3d25f90
commit
f20faf175b
1 changed files with 5 additions and 5 deletions
|
@ -1657,13 +1657,13 @@ powerlevel9k_vcs_init() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# If not empty, should be a command that provides vcs info in the format of gitstatus.
|
|
||||||
# See https://github.com/romkatv/gitstatus.
|
|
||||||
set_default POWERLEVEL9K_VCS_STATUS_COMMAND ""
|
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
# Segment to show VCS information
|
# Segment to show VCS information
|
||||||
prompt_vcs() {
|
prompt_vcs() {
|
||||||
|
# If POWERLEVEL9K_VCS_STATUS_COMMAND isn't empty, it should be a command that provides vcs info
|
||||||
|
# in the format of gitstatus. See https://github.com/romkatv/gitstatus. If you enable gitstatus,
|
||||||
|
# it'll define POWERLEVEL9K_VCS_STATUS_COMMAND for you. To disable, you can explicitly set
|
||||||
|
# POWERLEVEL9K_VCS_STATUS_COMMAND="".
|
||||||
if [[ -z $POWERLEVEL9K_VCS_STATUS_COMMAND ]]; then
|
if [[ -z $POWERLEVEL9K_VCS_STATUS_COMMAND ]]; then
|
||||||
VCS_WORKDIR_DIRTY=false
|
VCS_WORKDIR_DIRTY=false
|
||||||
VCS_WORKDIR_HALF_DIRTY=false
|
VCS_WORKDIR_HALF_DIRTY=false
|
||||||
|
|
Loading…
Reference in a new issue