shithub: choc

Download patch

ref: 278cd34b3e2e80816e2ecde3cc8ae82c50f63f49
parent: ea37ca0e06d34968964e02144534a63bab72e52e
author: Fabian Greffrath <[email protected]>
date: Fri Oct 30 04:25:21 EDT 2015

bash-completion: fix syntax error

_filedir expects a regex as an argument, not a lose list of file extensions

--- a/man/bash-completion/doom.template
+++ b/man/bash-completion/doom.template
@@ -25,7 +25,7 @@
             _filedir lmp
             ;;
         -deh)
-            _filedir bex deh
+            _filedir '@(bex|deh)'
             ;;
     esac