From 5e7645e4fbb2e662da7ffb1b55a8ad9cb290c271 Mon Sep 17 00:00:00 2001 From: Pablo Arias Date: Sat, 3 Oct 2020 15:19:34 +0200 Subject: [PATCH] Fixes #650 --- antigen.zsh | 1 + bin/antigen.zsh | 3 ++- src/antigen.zsh | 1 + src/ext/cache.zsh | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) 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 <