From e00a296c937bd4d953f756c3201abb0a917a0111 Mon Sep 17 00:00:00 2001 From: Guillaume Chazarain Date: Sat, 31 May 2008 15:51:40 +0200 Subject: [PATCH] Make sure bash does not execute something between prompts --- gsh/remote_dispatcher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gsh/remote_dispatcher.py b/gsh/remote_dispatcher.py index a2a6944..2fd5216 100644 --- a/gsh/remote_dispatcher.py +++ b/gsh/remote_dispatcher.py @@ -161,6 +161,7 @@ class remote_dispatcher(buffered_dispatcher): by waiting for its prompt.""" # No right prompt command_line = 'RPS1=;RPROMPT=;' + command_line += 'PROMPT_COMMAND=;' command_line += 'TERM=ansi;' command_line += 'unset HISTFILE;' prompt1, prompt2 = callbacks.add('prompt', self.seen_prompt_cb, True) -- 2.11.4.GIT