/[gentoo-x86]/www-apps/blazeblogger/files/blazeblogger-1.2.0-bash-completion.patch
Gentoo

Contents of /www-apps/blazeblogger/files/blazeblogger-1.2.0-bash-completion.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jun 22 06:19:51 2012 UTC (2 years, 2 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Fix bash-completion (patch provided by poletti.marco@gmail.com on bug 417953)

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 --- blazeblogger-1.2.0/unix/bash_completion
2 +++ blazeblogger-1.2.0/unix/bash_completion
3 @@ -103,7 +103,7 @@
4 # argument completions
5 case "$prev" in
6 -b|--blogdir)
7 - COMPREPLY=( $(compgen -d -- ${cur}) )
8 + _filedir -d
9 return 0
10 ;;
11 *)
12 @@ -131,7 +131,7 @@
13 # argument completions
14 case "$prev" in
15 -b|--blogdir)
16 - COMPREPLY=( $(compgen -d -- ${cur}) )
17 + _filedir -d
18 return 0
19 ;;
20 -E|--editor)
21 @@ -166,7 +166,7 @@
22 # argument completions
23 case "$prev" in
24 -b|--blogdir)
25 - COMPREPLY=( $(compgen -d -- ${cur}) )
26 + _filedir -d
27 return 0
28 ;;
29 -d|--date)
30 @@ -187,7 +187,7 @@
31 COMPREPLY=( $(compgen -W "${specopts}" -- ${cur}) )
32 return 0
33 else
34 - COMPREPLY=( $(compgen -f -- ${cur}) )
35 + _filedir
36 return 0
37 fi
38 ;;
39 @@ -200,7 +200,7 @@
40 # argument completions
41 case "$prev" in
42 -b|--blogdir)
43 - COMPREPLY=( $(compgen -d -- ${cur}) )
44 + _filedir -d
45 return 0
46 ;;
47 -E|--editor)
48 @@ -227,7 +227,7 @@
49 # argument completions
50 case "$prev" in
51 -b|--blogdir)
52 - COMPREPLY=( $(compgen -d -- ${cur}) )
53 + _filedir -d
54 return 0
55 ;;
56 *)
57 @@ -252,7 +252,7 @@
58 # argument completions
59 case "$prev" in
60 -b|--blogdir)
61 - COMPREPLY=( $(compgen -d -- ${cur}) )
62 + _filedir -d
63 return 0
64 ;;
65 -d|--day)
66 @@ -292,7 +292,7 @@
67 # argument completions
68 case "$prev" in
69 -b|--blogdir|-d|--destdir)
70 - COMPREPLY=( $(compgen -d -- ${cur}) )
71 + _filedir -d
72 return 0
73 ;;
74 *)
75 @@ -315,7 +315,7 @@
76 # argument completions
77 case "$prev" in
78 -b|--blogdir)
79 - COMPREPLY=( $(compgen -d -- ${cur}) )
80 + _filedir -d
81 return 0
82 ;;
83 -n|--number)

  ViewVC Help
Powered by ViewVC 1.1.20