diff --git a/README.rst b/README.rst index a87275c8..2ed389c5 100644 --- a/README.rst +++ b/README.rst @@ -15,6 +15,10 @@ This works with python 3.7.0, xonsh 0.8.8 and direnv 2.17.0. change log ========== +1.6.5 +----- +* PR https://github.com/74th/xonsh-direnv/pull/24 + 1.6.4 ----- * PR https://github.com/74th/xonsh-direnv/pull/21 @@ -68,3 +72,4 @@ Contributors * Andy Kipp (@anki-code, contributor) * Alexander Sosedkin (@t184256, contributor) * Mark Bestley (@bestlem, contributor) +* mingmingrr (@mingmingrr, contributor) diff --git a/setup.py b/setup.py index 4badf9a7..08a23069 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="xonsh-direnv", - version="1.6.4", + version="1.6.5", license="MIT", url="https://github.com/74th/xonsh-direnv", description="direnv support for the xonsh shell", diff --git a/xontrib/direnv.xsh b/xontrib/direnv.xsh index 2fc9ec97..83e2ccf2 100644 --- a/xontrib/direnv.xsh +++ b/xontrib/direnv.xsh @@ -11,8 +11,8 @@ def __direnv(): else: __xonsh__.env[k] = v -@events.on_post_rc -def __direnv_post_rc(**kwargs) -> None: +@events.on_post_init +def __direnv_post_init(**kwargs) -> None: __direnv() @events.on_chdir