Merge pull request #145 from chrisirhc/feature/fix-z-plugin

fix z path scope
This commit is contained in:
Bruno 2014-04-24 05:01:07 -03:00
commit 8e6adf2541

View File

@ -1,5 +1,5 @@
if test -z "$Z_SCRIPT_PATH"
set -x Z_SCRIPT_PATH /usr/local/etc/profile.d/z.sh
set -gx Z_SCRIPT_PATH /usr/local/etc/profile.d/z.sh
end
function __check_z --on-variable PWD --description 'Setup z on directory change'