summaryrefslogtreecommitdiffstats
path: root/tcsh-6.14.00-dont-print-history-on-verbose.patch
blob: d70cdae95115380933837ce7baad2a70d8f26b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);