From e393155e3391f243d7fc01c4a9a04f74a29b9095 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Wed, 13 Mar 2013 11:38:04 -0400 Subject: [PATCH] Making _ANTIGEN_INSTALL_DIR use absolute path. This will prevent errors if someone sources antigen using a relative path. --- antigen.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antigen.zsh b/antigen.zsh index 9612d51..05204b9 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -5,7 +5,7 @@ # , , , # FIXME: Is not kept local by zsh! local _ANTIGEN_BUNDLE_RECORD="" -local _ANTIGEN_INSTALL_DIR="$(dirname $0)" +local _ANTIGEN_INSTALL_DIR="$( cd "$( dirname "$0" )" && pwd )" # Syntaxes # antigen-bundle [=/] -- 2.0.0