zsh: clone plugins with a depth of 1
This commit is contained in:
parent
617b49b2ae
commit
3467be66d7
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ func plugInstall() {
|
|||
sourcefile="$clonepath/$2"
|
||||
|
||||
if command -v git > /dev/null && [ ! -d "$clonepath" ]; then
|
||||
git clone $1 "$clonepath"
|
||||
git clone $1 "$clonepath" --depth=1
|
||||
fi
|
||||
|
||||
if [ -f "$sourcefile" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue