diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-07-12 16:20:00 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-07-12 16:20:00 -0500 |
commit | 751b30e1bb85e541352cc563a7caf18bca46ffaa (patch) | |
tree | 83af8f55aa655192c9288d38cc19fbbb40122a18 | |
parent | 3a006cb12a7280db32cd1fc768346fdde47cc0f6 (diff) | |
download | vyatta-op-751b30e1bb85e541352cc563a7caf18bca46ffaa.tar.gz vyatta-op-751b30e1bb85e541352cc563a7caf18bca46ffaa.zip |
silence warnings when sourcing this script non-interactively
-rw-r--r-- | etc/bash_completion.d/vyatta-op | 4 |
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 |