virtualenv icon indicating copy to clipboard operation
virtualenv copied to clipboard

Change Nushell activation script to module

Open kubouch opened this issue 2 years ago • 0 comments

Description

The activation script will be a module that would be added as an overlay which allows for more ergonomic handling of the environment varaibles.

I had to change the source activation command to overlay use because that's how you activate overlay in Nushell. However, it required me to also disable quoting of the command. By default, the Python activator would create 'overlay use' and try to call that as a command but in Nushell, commands are called without quotes.

Thanks for contributing, make sure you address all the checklists (for details on how see development documentation)!

  • [x] ran the linter to address style issues (tox -e fix_lint)
  • [x] wrote descriptive pull request text
  • [x] ensured there are test(s) validating the fix
  • [x] added news fragment in docs/changelog folder
  • [ ] updated/extended the documentation

kubouch avatar Sep 17 '22 20:09 kubouch