From 70b6ff3777bb913909bbb214adc24cbd27b61847 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 30 Nov 2007 17:24:58 -0800 Subject: use the default pager set in op mode for config mode "show" output. --- etc/bash_completion.d/20vyatta-cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc/bash_completion.d/20vyatta-cfg') diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index ee640f9..dc05cf1 100644 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -55,7 +55,8 @@ show () fi done ${vyatta_sbindir}/vyatta-output-config.pl ${show_all} \ - ${VYATTA_EDIT_LEVEL//\// } ${args[@]} + ${VYATTA_EDIT_LEVEL//\// } ${args[@]} \ + | eval "${VYATTA_PAGER:-cat}" } save () -- cgit v1.2.3