committed by
Sindre Sorhus
parent
259a72c53b
commit
b8a33ba6ba
2
pure.zsh
2
pure.zsh
@@ -59,7 +59,7 @@ prompt_pure_precmd() {
|
||||
print -P $prompt_pure_preprompt
|
||||
|
||||
# check async if there is anything to pull
|
||||
[[ -z $PURE_GIT_PULL || $PURE_GIT_PULL == true ]] && {
|
||||
(( ${PURE_GIT_PULL:-1} )) && {
|
||||
# check if we're in a git repo
|
||||
command git rev-parse --is-inside-work-tree &>/dev/null &&
|
||||
# check check if there is anything to pull
|
||||
|
||||
Reference in New Issue
Block a user