From a787b88d55b2acbf4031486cf5d99e86cd2915c2 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Tue, 13 Mar 2012 21:30:29 +0000 Subject: Bugfix 7527: Don't override VYATTA_PAGER value if it was previously set --- etc/bash_completion.d/vyatta-op | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc/bash_completion.d') diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op index f638488..65dd701 100644 --- a/etc/bash_completion.d/vyatta-op +++ b/etc/bash_completion.d/vyatta-op @@ -32,7 +32,8 @@ test -z "$_vyatta_default_pager" && \ --auto-buffers\ --no-lessopen\ $_vyatta_less_options" -declare -x VYATTA_PAGER=$_vyatta_default_pager +test -z "$VYATTA_PAGER" && \ + declare -x VYATTA_PAGER=$_vyatta_default_pager _vyatta_op_do_key_bindings () { -- cgit v1.2.3