diff options
-rw-r--r-- | etc/bash_completion.d/10vyatta-op | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bash_completion.d/10vyatta-op b/etc/bash_completion.d/10vyatta-op index 3313167..24082e8 100644 --- a/etc/bash_completion.d/10vyatta-op +++ b/etc/bash_completion.d/10vyatta-op @@ -321,7 +321,7 @@ _vyatta_op_run () local ret=0 if [ -n "$run_cmd" ]; then if [[ -t 1 && "$1" == "show" && \ - ! $run_cmd =~ ^\(less\|more\|most\|pager\|tail\).* ]] ; then + ! $run_cmd =~ ^\(LESSOPEN=\|less\|pager\|tail\).* ]] ; then eval "($run_cmd) | ${VYATTA_PAGER:-cat}" else eval "$run_cmd" |