blob: 8567ab4b0562805dc7da9d060fddc23e0c9ddb8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
contrib/devtodo.bash-completion | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/contrib/devtodo.bash-completion b/contrib/devtodo.bash-completion
index 07139b0..c058dad 100644
--- a/contrib/devtodo.bash-completion
+++ b/contrib/devtodo.bash-completion
@@ -15,20 +15,20 @@ _devtodo() {
--purge"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
- COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
-p|--priority)
COMPREPLY=( $(compgen -W "default veryhigh high medium low verylow" \
- -- ${cur}) )
+ -- "${cur}") )
;;
--database-loaders)
- COMPREPLY=( $(compgen -W "xml binary" -- ${cur}) )
+ COMPREPLY=( $(compgen -W "xml binary" -- "${cur}") )
;;
-l|--link|--*database)
- COMPREPLY=( $(compgen -f -- ${cur}) )
+ _filedir
;;
*)
COMPREPLY=()
|