remove submodules and add autoupdate
This commit is contained in:
parent
3246ec7c3c
commit
688c8f6ef2
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user