From d9fdb7f34b949fed8b0773f5da101a76925efe24 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Fri, 8 Jul 2011 17:12:09 -0500 Subject: Bugfix 7266: make 'show history' work with non interactive shells like webgui (cherry picked from commit 80258882e7aeaef07bfd2b97496c089c74d34cd7) --- templates/show/history/brief/node.def | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/show/history/brief') diff --git a/templates/show/history/brief/node.def b/templates/show/history/brief/node.def index c1a81a3..4dc73c1 100644 --- a/templates/show/history/brief/node.def +++ b/templates/show/history/brief/node.def @@ -1,2 +1,4 @@ help: recent command history -run: history 20 +run: HISTFILE="$HOME/.bash_history" + \set -o history + history 20 -- cgit v1.2.3