From daab958980be4c8cdd1dd2434ba2e45c118989a7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 18 Jul 2013 16:29:11 -0300 Subject: Completion: avoid annoying bell and extra tab --- lib/keyringer/completions/bash | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/keyringer/completions') 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 -- cgit v1.2.3