File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ def _sigwinch_passthrough(sig, data):
140
140
# We set the PS1 prompt outside the script because it's otherwise invisible.
141
141
# stty echo is equivalent to `child.setecho(True)` but the latter didn't work
142
142
# reliably across all shells and OSs.
143
- child .sendline (f' source "{ f .name } " && { self .prompt ()} && stty echo' )
143
+ child .sendline (f' . "{ f .name } " && { self .prompt ()} && stty echo' )
144
144
os .read (child .child_fd , 4096 ) # consume buffer before interact
145
145
if Path (executable ).name == "zsh" :
146
146
# zsh also needs this for a truly silent activation
@@ -165,6 +165,8 @@ def executable(self):
165
165
166
166
167
167
class ShellShell (PosixShell ):
168
+ Activator = activate .ShellActivator
169
+
168
170
def executable (self ):
169
171
return "shell"
170
172
You can’t perform that action at this time.
0 commit comments