]> Sergey Matveev's repositories - zsh-autoenv.git/commit
Remove globals: _autoenv_source_dir, _autoenv_chpwd_prev_dir
authorDaniel Hahler <git@thequod.de>
Mon, 25 May 2015 15:01:43 +0000 (17:01 +0200)
committerDaniel Hahler <git@thequod.de>
Mon, 25 May 2015 15:03:05 +0000 (17:03 +0200)
commit9a2660f9395e9af253407226d6dcaf1c5a874dd7
treef8266b771797175fd761302f7e1972a1ee19c303
parente68a914487822a812a878b7aaed21785908daca6
Remove globals: _autoenv_source_dir, _autoenv_chpwd_prev_dir

The globals are not necessary and can cause problems with
AUTO_NAME_DIRS.

 - Use funcsourcetrace[1] instead of _autoenv_source_dir.
 - Use OLDPWD instead of _autoenv_chpwd_prev_dir.

Fixes #33.
autoenv.zsh