diff --git a/antigen.zsh b/antigen.zsh index f4e78653..eaf64c45 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -1,2 +1,3 @@ _ANTIGEN_INSTALL_DIR=${0:A:h} +_ANTIGEN_INSTALL_FILENAME=${0:A} source $_ANTIGEN_INSTALL_DIR/bin/antigen.zsh diff --git a/bin/antigen.zsh b/bin/antigen.zsh index aeba2a7a..43e51492 100644 --- a/bin/antigen.zsh +++ b/bin/antigen.zsh @@ -47,6 +47,7 @@ if [[ $ANTIGEN_CACHE != false ]]; then fi fi [[ -z "$_ANTIGEN_INSTALL_DIR" ]] && _ANTIGEN_INSTALL_DIR=${0:A:h} +[[ -z "$_ANTIGEN_INSTALL_FILENAME" ]] && _ANTIGEN_INSTALL_FILENAME=${0:A} # Each line in this string has the following entries separated by a space # character. @@ -1830,7 +1831,7 @@ cat > $ANTIGEN_CACHE < $ANTIGEN_CACHE <