diff options
-rw-r--r-- | templates/show/history/node.def | 2 | ||||
-rw-r--r-- | templates/show/history/node.tag/node.def | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/show/history/node.def b/templates/show/history/node.def new file mode 100644 index 0000000..27ea6fd --- /dev/null +++ b/templates/show/history/node.def @@ -0,0 +1,2 @@ +help: show command history +run: history | ${VYATTA_PAGER:-cat} diff --git a/templates/show/history/node.tag/node.def b/templates/show/history/node.tag/node.def new file mode 100644 index 0000000..c25d2fa --- /dev/null +++ b/templates/show/history/node.tag/node.def @@ -0,0 +1,3 @@ +help: Display last commands in history +allowed: echo -n '<NUMBER>' +run: history "$3" | ${VYATTA_PAGER:-cat} |