diff --git a/bin/antigen.zsh b/bin/antigen.zsh index 6262f164..cbac5679 100644 --- a/bin/antigen.zsh +++ b/bin/antigen.zsh @@ -353,7 +353,8 @@ antigen () { shift $# # Get the clone's directory as per the given repo url and branch. - local clone_dir=$(-antigen-get-clone-dir $url) + local clone_dir + clone_dir=$(-antigen-get-clone-dir $url) if [[ -d "$clone_dir" && $update == false ]]; then return true fi diff --git a/src/lib/ensure-repo.zsh b/src/lib/ensure-repo.zsh index 7229a281..05521a36 100644 --- a/src/lib/ensure-repo.zsh +++ b/src/lib/ensure-repo.zsh @@ -26,7 +26,8 @@ shift $# # Get the clone's directory as per the given repo url and branch. - local clone_dir=$(-antigen-get-clone-dir $url) + local clone_dir + clone_dir=$(-antigen-get-clone-dir $url) if [[ -d "$clone_dir" && $update == false ]]; then return true fi