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 14, 2022
1 parent d7e3292 commit 39d4260
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 39d4260

Please sign in to comment.