Skip to content

Commit

Permalink
remove unhelpful warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thornjad committed Mar 8, 2023
1 parent b481123 commit 1062b19
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions zpico.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1062b19

Please sign in to comment.