Skip to content

Commit

Permalink
feat(shells): support nushell
Browse files Browse the repository at this point in the history
  • Loading branch information
emilien fugier committed Nov 18, 2022
1 parent abf265e commit 3e07a94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/5470.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Find nushell activate scripts.
3 changes: 3 additions & 0 deletions pipenv/shells.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ def _get_activate_script(cmd, venv):
elif "csh" in cmd:
suffix = ".csh"
command = "source"
elif "nu" in cmd:
suffix = ".nu"
command = "source"
else:
suffix = ""
command = "."
Expand Down

0 comments on commit 3e07a94

Please sign in to comment.