We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vox
xonsh
1 parent 5571d81 commit 3a8ac3fCopy full SHA for 3a8ac3f
src/poetry/utils/shell.py
@@ -108,6 +108,8 @@ def activate(self, env: VirtualEnv) -> int | None:
108
if self._name == "zsh":
109
# Under ZSH the source command should be invoked in zsh's bash emulator
110
c.sendline(f"emulate bash -c '. {shlex.quote(str(activate_path))}'")
111
+ elif self._name == "xonsh":
112
+ c.sendline(f"vox activate {shlex.quote(str(env.path))}")
113
else:
114
cmd = f"{self._get_source_command()} {shlex.quote(str(activate_path))}"
115
if self._name in ["fish", "nu"]:
0 commit comments