diff options
Diffstat (limited to 'templates/show')
-rw-r--r-- | templates/show/history/brief/node.def | 2 | ||||
-rw-r--r-- | templates/show/history/node.def | 2 | ||||
-rw-r--r-- | templates/show/history/node.tag/node.def | 2 |
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 |