U 优化执行

pull/494/head
vapao 2022-05-22 16:33:29 +08:00
parent 8574217191
commit 7d4a49f694
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class SSH:
counter = 0
self.channel = self.client.invoke_shell()
command = 'set +o zle\nset -o no_nomatch\nexport PS1= && stty -echo\n'
command = 'set +o history\nset +o zle\nset -o no_nomatch\nexport PS1= && stty -echo\n'
if self.default_env:
command += f'{self.default_env}\n'
command += f'echo {self.eof} $?\n'