foxygit / doom Log in
commit 278cd34b3e2e80816e2ecde3cc8ae82c50f63f49
Author:     Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Fri Oct 30 08:25:21 2015 +0100
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Fri Oct 30 08:25:21 2015 +0100

    bash-completion: fix syntax error

    _filedir expects a regex as an argument, not a lose list of file extensions
---
 man/bash-completion/doom.template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/bash-completion/doom.template b/man/bash-completion/doom.template
index 35a15da3..d46fb8d4 100644
--- a/man/bash-completion/doom.template
+++ b/man/bash-completion/doom.template
@@ -25,7 +25,7 @@ _chocolate_doom()
             _filedir lmp
             ;;
         -deh)
-            _filedir bex deh
+            _filedir '@(bex|deh)'
             ;;
     esac