]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Completion: avoid annoying bell and extra tab
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Jul 2013 19:29:11 +0000 (16:29 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Jul 2013 19:29:11 +0000 (16:29 -0300)
lib/keyringer/completions/bash

index 961e1d08817e61c9a70f508e00bab67f6c813779..675364e64ca431d5f387fc999e6926662fe86f28 100644 (file)
@@ -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