Skip to content

Commit

Permalink
Merge pull request #5470 from efugier/feat/shells/support-for-nushell
Browse files Browse the repository at this point in the history
feat(shells): support nushell
  • Loading branch information
oz123 authored Nov 18, 2022
2 parents 279a9f4 + 3e07a94 commit 6f06e51
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 6f06e51

Please sign in to comment.