dyuri / xontrib-zoxide

Zoxide integration for xonsh.
MIT License
13 stars 4 forks source link

Zoxide issue with login xonsh and a workaround #1

Closed eugenesvk closed 3 years ago

eugenesvk commented 3 years ago

FYI: there is an issue with zoxide in xonsh login shells that requires using this:

with ${...}.swap(UPDATE_OS_ENVIRON=True):
  execx($(zoxide init xonsh), 'exec', __xonsh__.ctx, filename='zoxide')

instead of the regular one-liner Not sure if you'd want to update your xontrib or wait for the upstream fix

dyuri commented 3 years ago

No problem at all, 0.2.0 "released" with the fix. :)

ajeetdsouza commented 3 years ago

This issue has been fixed in zoxide 0.6.0. Thanks!