From 1062b1939fa8961133045cc4d886ca0fa7d54308 Mon Sep 17 00:00:00 2001 From: Jade Michael Thornton Date: Wed, 8 Mar 2023 09:41:18 -0500 Subject: [PATCH] remove unhelpful warning --- zpico.zsh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/zpico.zsh b/zpico.zsh index a295eec..e1405bd 100644 --- a/zpico.zsh +++ b/zpico.zsh @@ -14,12 +14,6 @@ _zpico_add() { local zmodule=${1:t} zrepo=${1} local zpath=${ZP_PLUGIN_HOME}/${zmodule} - if [[ -n "$(ls -A $zpath)" ]]; then - echo "Package path for $zmodule already exists!" - echo "Use 'zpico remove ${zmodule}' or remove ${zpath} first." - return 1 - fi - for x in "$@"; do parts=(${(s/:/)x}) case ${parts[1]} in