fix z path scope

This commit is contained in:
Chris Chua 2014-04-22 12:28:21 -07:00
parent fab7aba91c
commit 99dcf2861d

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'