From 06fa9ac15ad5b9ae2cc56d6f59f322114d8a2bbb Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Fri, 3 Dec 2010 15:07:43 -0800 Subject: Pipe "compare" output through pager. --- etc/bash_completion.d/vyatta-cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg index 7704285..2c0a7bc 100755 --- a/etc/bash_completion.d/vyatta-cfg +++ b/etc/bash_completion.d/vyatta-cfg @@ -154,7 +154,7 @@ confirm () compare () { - ${vyatta_sbindir}/vyatta-config-mgmt.pl --action=diff "$@" + ${vyatta_sbindir}/vyatta-config-mgmt.pl --action=diff "$@" | eval "${VYATTA_PAGER:-cat}" } save () -- cgit v1.2.3