diff --git a/spug_api/libs/ssh.py b/spug_api/libs/ssh.py index 33d46fc..b7f9d1b 100644 --- a/spug_api/libs/ssh.py +++ b/spug_api/libs/ssh.py @@ -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'