From c6419a471ed5e3136eadfa11220107c9e14836d1 Mon Sep 17 00:00:00 2001 From: iliajie Date: Mon, 31 Oct 2022 16:45:54 +0200 Subject: [PATCH] Fix not to store init commands in history --- xterm/index.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xterm/index.cgi b/xterm/index.cgi index 68a636dc0..04c0d8282 100644 --- a/xterm/index.cgi +++ b/xterm/index.cgi @@ -215,8 +215,8 @@ if ($config{'flavors'}) { "@\\\\[\\\\033[1;34m\\\\]\\\\h:\\\\[\\\\033[1;37m\\\\]". "\\\\w\\\\[\\\\033[1;37m\\\\]\\\\\$\\\\[\\\\033[0m\\\\] '"; } - $term_flavors = "socket.send(\"alias ls='ls --color=auto'\\r\"); ". - "socket.send(\"$ps1\\r\");"; + $term_flavors = "socket.send(\" alias ls='ls --color=auto'\\r\"); ". + "socket.send(\" $ps1\\r\");"; } # Check for directory to start the shell in @@ -251,7 +251,7 @@ my $term_script = <