Merge pull request #5470 from efugier/feat/shells/support-for-nushell

feat(shells): support nushell
This commit is contained in:
Oz N Tiram
2022-11-18 21:25:58 +01:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
Find nushell activate scripts.
+3
View File
@@ -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 = "."