Commit e393155e3391f243d7fc01c4a9a04f74a29b9095

Authored by Josh Matthews
1 parent b7d2d3e0c1

Making _ANTIGEN_INSTALL_DIR use absolute path.

This will prevent errors if someone sources antigen using a relative
path.

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -5,7 +5,7 @@
5 5 # <repo-url>, <plugin-location>, <bundle-type>, <has-local-clone>
6 6 # FIXME: Is not kept local by zsh!
7 7 local _ANTIGEN_BUNDLE_RECORD=""
8   -local _ANTIGEN_INSTALL_DIR="$(dirname $0)"
  8 +local _ANTIGEN_INSTALL_DIR="$( cd "$( dirname "$0" )" && pwd )"
9 9  
10 10 # Syntaxes
11 11 # antigen-bundle <url> [<loc>=/]