diff --git a/pipenv/shells.py b/pipenv/shells.py index 02065e70..447fffdf 100644 --- a/pipenv/shells.py +++ b/pipenv/shells.py @@ -44,6 +44,9 @@ def _get_activate_script(cmd, venv): elif "csh" in cmd: suffix = ".csh" command = "source" + elif "xonsh" in cmd: + suffix = ".xsh" + command = "source" elif "nu" in cmd: suffix = ".nu" command = "overlay use"