direnv icon indicating copy to clipboard operation
direnv copied to clipboard

Support for nushell?

Open winston0410 opened this issue 4 years ago • 5 comments

Is your feature request related to a problem? Please describe. Right now, it seems like direnv cannot be run on nushell.

Describe the solution you'd like To make direnv run on nushell, just like on any other shell.

winston0410 avatar Sep 13 '21 20:09 winston0410

nushell's hook are still not powerful enough for direnv to support it: https://github.com/nushell/nushell/issues/2549#issuecomment-1146869857

Mic92 avatar Jul 23 '22 07:07 Mic92

Recently, Nushell hooks got upgraded and should be powerful enough now to enable direnv-like functionality: https://github.com/nushell/nushell/pull/5982.

If you check the PR discussion, you can see @johnae got direnv working with our current hooks.

kubouch avatar Aug 06 '22 11:08 kubouch

There's a PR here with an example of how to set it up: https://github.com/nushell/nu_scripts/pull/272

johnae avatar Aug 07 '22 10:08 johnae

What about now? Someone should make a pr :3

nyabinary avatar Jan 08 '24 15:01 nyabinary

Be my guest :)

zimbatm avatar Jan 09 '24 09:01 zimbatm