mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-14 17:10:07 +00:00
disable instant prompt when gitstatus fails to initialize
This commit is contained in:
parent
ed3287b737
commit
2ade5d786b
1 changed files with 2 additions and 0 deletions
|
@ -7910,6 +7910,7 @@ _p9k_init_vcs() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
(( $+GITSTATUS_DAEMON_PID_POWERLEVEL9K )) || _p9k__instant_prompt_disabled=1
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
(( _POWERLEVEL9K_DISABLE_GITSTATUS )) && return
|
(( _POWERLEVEL9K_DISABLE_GITSTATUS )) && return
|
||||||
|
@ -7952,6 +7953,7 @@ _p9k_init_vcs() {
|
||||||
trap ':' INT
|
trap ':' INT
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
(( $+GITSTATUS_DAEMON_PID_POWERLEVEL9K )) || _p9k__instant_prompt_disabled=1
|
||||||
}
|
}
|
||||||
|
|
||||||
_p9k_init() {
|
_p9k_init() {
|
||||||
|
|
Loading…
Reference in a new issue