]> Sergey Matveev's repositories - zsh-autoenv.git/commit
Cleanup API/vars for enter/leave events
authorDaniel Hahler <git@thequod.de>
Fri, 9 Oct 2015 20:04:55 +0000 (22:04 +0200)
committerDaniel Hahler <git@thequod.de>
Fri, 9 Oct 2015 20:04:55 +0000 (22:04 +0200)
commit961190678e0183c7d26926d77a76149b0b06922a
tree5fdd239f84f4cc2d3813cab543d7828f589f3c21
parent58268b8da3818476d6698ec044a64b25bad5a24e
Cleanup API/vars for enter/leave events

The variables are local now, which makes them being handled correctly
when calling `autoenv_source_parent`.
Without this, a call to `autoenv_source_parent` overwrites the values in
the current scope.
autoenv.zsh
tests/leave.t
tests/setup.zsh
tests/source-parent-vars.t [new file with mode: 0644]