summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d/vyatta-op
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-07-12 16:20:00 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-07-12 16:21:46 -0500
commit947e1d6fabd331355fedc7a3d84093c57f13949a (patch)
tree3d6f9fc51d476cef5faa3e42e2b220e491b488b6 /etc/bash_completion.d/vyatta-op
parent9530f14b302030d8dc5c0da5336a695417472c2c (diff)
downloadvyatta-op-947e1d6fabd331355fedc7a3d84093c57f13949a.tar.gz
vyatta-op-947e1d6fabd331355fedc7a3d84093c57f13949a.zip
silence warnings when sourcing this script non-interactively
(cherry picked from commit 751b30e1bb85e541352cc563a7caf18bca46ffaa)
Diffstat (limited to 'etc/bash_completion.d/vyatta-op')
-rw-r--r--etc/bash_completion.d/vyatta-op4
1 files changed, 2 insertions, 2 deletions
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