From 947e1d6fabd331355fedc7a3d84093c57f13949a Mon Sep 17 00:00:00 2001 From: John Southworth Date: Tue, 12 Jul 2011 16:20:00 -0500 Subject: silence warnings when sourcing this script non-interactively (cherry picked from commit 751b30e1bb85e541352cc563a7caf18bca46ffaa) --- etc/bash_completion.d/vyatta-op | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op index 7226134..88f8406 100644 --- a/etc/bash_completion.d/vyatta-op +++ b/etc/bash_completion.d/vyatta-op @@ -42,8 +42,8 @@ _vyatta_op_do_key_bindings () return fi - bind '"?": possible-completions' - bind 'set show-all-if-ambiguous on' + bind '"?": possible-completions' 2> /dev/null + bind 'set show-all-if-ambiguous on' 2> /dev/null nullglob_save=$(shopt -p nullglob) shopt -u nullglob -- cgit v1.2.3