From f5c80dac5c7017bfcb8df3233e084f15bef592d2 Mon Sep 17 00:00:00 2001 From: quackerd Date: Mon, 8 Mar 2021 05:15:23 -0500 Subject: [PATCH] remove submodules and add autoupdate --- libozsh.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libozsh.zsh b/libozsh.zsh index 6b74ca7..f1af109 100644 --- a/libozsh.zsh +++ b/libozsh.zsh @@ -37,13 +37,13 @@ function ozsh_load { function ozsh_update { git -C $OZSH_HOME stash - git -C $OZSH_HOME pull --rebase + git -C $OZSH_HOME pull git -C $OZSH_HOME stash pop # check for updates in modules for d in $OZSH_MODULES do - git -C $OZSH_HOME/$d pull --rebase > /dev/null 2>&1 + git -C $d pull > /dev/null 2>&1 done echo $(date) > "$OZSH_LASTUPDATE_FILE"