From c8686c5bf9d0ee9980828838a6b9e7ec585788d8 Mon Sep 17 00:00:00 2001 From: blackb1rd Date: Fri, 16 Mar 2018 10:10:40 +0700 Subject: [PATCH] Fix .antigen/init.zsh has wrong antigen.zsh script location --- bin/antigen.zsh | 3 ++- src/antigen.zsh | 1 + src/ext/cache.zsh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/antigen.zsh b/bin/antigen.zsh index aeba2a7a..50f5c96d 100644 --- a/bin/antigen.zsh +++ b/bin/antigen.zsh @@ -46,6 +46,7 @@ if [[ $ANTIGEN_CACHE != false ]]; then return 0 fi fi +[[ -z "$_ANTIGEN_INSTALL_FILENAME" ]] && _ANTIGEN_INSTALL_FILENAME=$(basename $0 2> /dev/null) [[ -z "$_ANTIGEN_INSTALL_DIR" ]] && _ANTIGEN_INSTALL_DIR=${0:A:h} # Each line in this string has the following entries separated by a space @@ -1830,7 +1831,7 @@ cat > $ANTIGEN_CACHE < /dev/null) [[ -z "$_ANTIGEN_INSTALL_DIR" ]] && _ANTIGEN_INSTALL_DIR=${0:A:h} # Each line in this string has the following entries separated by a space diff --git a/src/ext/cache.zsh b/src/ext/cache.zsh index 248638d6..cd9fb9fb 100644 --- a/src/ext/cache.zsh +++ b/src/ext/cache.zsh @@ -46,7 +46,7 @@ cat > $ANTIGEN_CACHE <