~yerinalexey/miniplug

c9be64d0790b4e6bb20c179fd814ba8af47c9a39 — Alexey Yerin 7 months ago 9ead10f
fix: clone with --depth 1
1 files changed, 1 insertions(+), 1 deletions(-)

M miniplug.zsh
M miniplug.zsh => miniplug.zsh +1 -1
@@ 109,7 109,7 @@ function __miniplug_install() {

    # Clone
    printf "Installing $plugin_url ...\n"
    git clone "$clone_url" "$clone_dest" -q || (
    git clone "$clone_url" "$clone_dest" -q --depth 1 || (
      __miniplug_error "Failed to install $plugin_url, exiting"
      return 1
    )