remove submodules and add autoupdate

This commit is contained in:
quackerd 2021-03-08 05:10:42 -05:00
parent 3246ec7c3c
commit 688c8f6ef2

View File

@ -10,7 +10,7 @@ export OZSH_LASTUPDATE_FILE="$OZSH_HOME/last_update"
function ozsh_clone_plugin { function ozsh_clone_plugin {
if [ ! -d "$OZSH_MODULES/$1" ]; then if [ ! -d "$OZSH_MODULES/$1" ]; then
echo "Installing plugin $1..." echo "Installing plugin $1..."
git -C "$OZSH_MODULES" clone "$1" "$2" > /dev/null 2>&1 git -C "$OZSH_MODULES" clone "$2" "$1" > /dev/null 2>&1
fi fi
} }