From: Silvio Rhatto Date: Thu, 18 Jul 2013 19:29:11 +0000 (-0300) Subject: Completion: avoid annoying bell and extra tab X-Git-Tag: 0.2.1~10 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=daab958980be4c8cdd1dd2434ba2e45c118989a7;p=keyringer.git Completion: avoid annoying bell and extra tab --- 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