summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Balocca <rbalocca@vyatta.com>2008-10-24 10:11:09 -0700
committerRick Balocca <rbalocca@vyatta.com>2008-10-24 10:11:09 -0700
commitf279fa4d97c0215af8aa9545c08e3f987c1524fa (patch)
tree657769963bc01e345f1036683ab92fb4a53df8ec
parent02c5c1af787e35aacb5580e7f4e90e070d7670eb (diff)
parent388691e7df1d4c3eefed7a974a9c2591d1fafaf5 (diff)
downloadvyatta-op-f279fa4d97c0215af8aa9545c08e3f987c1524fa.tar.gz
vyatta-op-f279fa4d97c0215af8aa9545c08e3f987c1524fa.zip
Merge branch 'islavista' into jenner
-rw-r--r--templates/show/history/brief/node.def2
-rw-r--r--templates/show/history/node.def2
-rw-r--r--templates/show/history/node.tag/node.def2
3 files changed, 4 insertions, 2 deletions
diff --git a/templates/show/history/brief/node.def b/templates/show/history/brief/node.def
new file mode 100644
index 0000000..c1a81a3
--- /dev/null
+++ b/templates/show/history/brief/node.def
@@ -0,0 +1,2 @@
+help: recent command history
+run: history 20
diff --git a/templates/show/history/node.def b/templates/show/history/node.def
index 27ea6fd..682122a 100644
--- a/templates/show/history/node.def
+++ b/templates/show/history/node.def
@@ -1,2 +1,2 @@
help: show command history
-run: history | ${VYATTA_PAGER:-cat}
+run: HISTTIMEFORMAT='%FT%T%z ' history
diff --git a/templates/show/history/node.tag/node.def b/templates/show/history/node.tag/node.def
index c25d2fa..2c77a35 100644
--- a/templates/show/history/node.tag/node.def
+++ b/templates/show/history/node.tag/node.def
@@ -1,3 +1,3 @@
help: Display last commands in history
allowed: echo -n '<NUMBER>'
-run: history "$3" | ${VYATTA_PAGER:-cat}
+run: HISTTIMEFORMAT='%FT%T%z ' history