remove submodules and add autoupdate
This commit is contained in:
parent
688c8f6ef2
commit
f5c80dac5c
@ -37,13 +37,13 @@ function ozsh_load {
|
|||||||
|
|
||||||
function ozsh_update {
|
function ozsh_update {
|
||||||
git -C $OZSH_HOME stash
|
git -C $OZSH_HOME stash
|
||||||
git -C $OZSH_HOME pull --rebase
|
git -C $OZSH_HOME pull
|
||||||
git -C $OZSH_HOME stash pop
|
git -C $OZSH_HOME stash pop
|
||||||
|
|
||||||
# check for updates in modules
|
# check for updates in modules
|
||||||
for d in $OZSH_MODULES
|
for d in $OZSH_MODULES
|
||||||
do
|
do
|
||||||
git -C $OZSH_HOME/$d pull --rebase > /dev/null 2>&1
|
git -C $d pull > /dev/null 2>&1
|
||||||
done
|
done
|
||||||
|
|
||||||
echo $(date) > "$OZSH_LASTUPDATE_FILE"
|
echo $(date) > "$OZSH_LASTUPDATE_FILE"
|
||||||
|
Loading…
Reference in New Issue
Block a user