summaryrefslogtreecommitdiffstats
path: root/tcsh-6.14.00-dont-print-history-on-verbose.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tcsh-6.14.00-dont-print-history-on-verbose.patch')
-rw-r--r--tcsh-6.14.00-dont-print-history-on-verbose.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/tcsh-6.14.00-dont-print-history-on-verbose.patch b/tcsh-6.14.00-dont-print-history-on-verbose.patch
new file mode 100644
index 0000000..d70cdae
--- /dev/null
+++ b/tcsh-6.14.00-dont-print-history-on-verbose.patch
@@ -0,0 +1,19 @@
+commit 888f217aba727063885356099ae4a726c60934d0
+Author: Jeffrey Bastian <jbastian@redhat.com>
+Date: Wed May 5 17:55:17 2010 -0500
+
+ Don't print the history if in verbose mode
+
+diff --git a/sh.c b/sh.c
+index 178b972..0caa51b 100644
+--- a/sh.c
++++ b/sh.c
+@@ -1378,6 +1378,8 @@ main(argc, argv)
+ xprintf("exit\n");
+ }
+ }
++ /* Don't print the history file to the terminal */
++ unsetv(STRverbose);
+ record();
+ exitstat();
+ return (0);