summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/show/history/brief/node.def3
-rw-r--r--templates/show/history/node.def3
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/show/history/brief/node.def b/templates/show/history/brief/node.def
index 4dc73c1..92c76ca 100644
--- a/templates/show/history/brief/node.def
+++ b/templates/show/history/brief/node.def
@@ -1,4 +1,5 @@
help: recent command history
-run: HISTFILE="$HOME/.bash_history"
+run: HISTTIMEFORMAT='%FT%T%z '
+ HISTFILE="$HOME/.bash_history"
\set -o history
history 20
diff --git a/templates/show/history/node.def b/templates/show/history/node.def
index 21e79e7..c1487eb 100644
--- a/templates/show/history/node.def
+++ b/templates/show/history/node.def
@@ -1,4 +1,5 @@
help: show command history
-run: HISTFILE="$HOME/.bash_history"
+run: HISTTIMEFORMAT='%FT%T%z '
+ HISTFILE="$HOME/.bash_history"
\set -o history
history