diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-30 17:24:58 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-30 17:24:58 -0800 |
commit | 70b6ff3777bb913909bbb214adc24cbd27b61847 (patch) | |
tree | ab8aa959f62774b86a1895390cdd45f535e2232a /etc/bash_completion.d | |
parent | 8f0cb9482f4d4051c6542099acf60eafb82ee5f9 (diff) | |
download | vyatta-cfg-70b6ff3777bb913909bbb214adc24cbd27b61847.tar.gz vyatta-cfg-70b6ff3777bb913909bbb214adc24cbd27b61847.zip |
use the default pager set in op mode for config mode "show" output.
Diffstat (limited to 'etc/bash_completion.d')
-rw-r--r-- | etc/bash_completion.d/20vyatta-cfg | 3 |
1 files changed, 2 insertions, 1 deletions
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 () |