aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-07-18 16:29:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-07-18 16:29:11 -0300
commitdaab958980be4c8cdd1dd2434ba2e45c118989a7 (patch)
tree5e43665f91b7e8f91dae71ba0fbf9e4425f1ddfd
parentd0be9cff42cbc572fd5965f57e1c4cb6fc243435 (diff)
downloadkeyringer-daab958980be4c8cdd1dd2434ba2e45c118989a7.tar.gz
keyringer-daab958980be4c8cdd1dd2434ba2e45c118989a7.tar.bz2
Completion: avoid annoying bell and extra tab
-rw-r--r--lib/keyringer/completions/bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/keyringer/completions/bash b/lib/keyringer/completions/bash
index 961e1d0..675364e 100644
--- a/lib/keyringer/completions/bash
+++ b/lib/keyringer/completions/bash
@@ -42,6 +42,9 @@ _keyringer() {
esac
fi
+ # Avoid annoying bell and extra tab
+ bind 'set show-all-if-ambiguous on'
+
# Return the available options
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
[[ $COMPREPLY == */ ]] && compopt -o nospace