mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
run update check *after* running custom configuration scripts.
This means we are running it after $PATH has potentially been set up, which means it's more likely that commands like "git" will be found
This commit is contained in:
parent
00a190bc01
commit
eddab5034c
2 changed files with 8 additions and 8 deletions
|
@ -7,11 +7,3 @@ bindkey "^[m" copy-prev-shell-word
|
||||||
|
|
||||||
## jobs
|
## jobs
|
||||||
setopt long_list_jobs
|
setopt long_list_jobs
|
||||||
|
|
||||||
# Check for updates on initial load...
|
|
||||||
if [ "$DISABLE_AUTO_UPDATE" = "true" ]
|
|
||||||
then
|
|
||||||
return
|
|
||||||
else
|
|
||||||
/bin/sh $ZSH/tools/check_for_upgrade.sh
|
|
||||||
fi
|
|
||||||
|
|
|
@ -6,3 +6,11 @@ for config_file ($ZSH/lib/*.zsh) source $config_file
|
||||||
|
|
||||||
# Load all of your custom configurations from custom/
|
# Load all of your custom configurations from custom/
|
||||||
for config_file ($ZSH/custom/*.zsh) source $config_file
|
for config_file ($ZSH/custom/*.zsh) source $config_file
|
||||||
|
|
||||||
|
# Check for updates on initial load...
|
||||||
|
if [ "$DISABLE_AUTO_UPDATE" = "true" ]
|
||||||
|
then
|
||||||
|
return
|
||||||
|
else
|
||||||
|
/bin/sh $ZSH/tools/check_for_upgrade.sh
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue