1 |
On 19:27 Mon 02 Mar , Mike Frysinger wrote: |
2 |
> unless i see any new issues come up, bash-4.0-r1 will be going into ~arch this |
3 |
> week. now would be a good time to sync up and try bash-4.0 on your system :p. |
4 |
> -mike |
5 |
|
6 |
comet $ source /usr/share/bash-completion/genkernel |
7 |
-bash: /usr/share/bash-completion/genkernel: line 50: unexpected EOF while looking for matching `)' |
8 |
-bash: /usr/share/bash-completion/genkernel: line 74: syntax error: unexpected end of file |
9 |
|
10 |
48 # generate a list of completions for the argument; this replaces args with |
11 |
49 # an array of results |
12 |
50 args=( $(case $args in |
13 |
51 ('<0-5>') compgen -W "$(echo {1..5})" -- "$rhs" ;; |
14 |
52 ('<outfile>'|'<file>') compgen -A file -o plusdirs -- "$rhs" ;; |
15 |
53 ('<dir>') compgen -A directory -S / -- "$rhs" ;; |
16 |
54 ('<tbz2>') compgen -G '*.tbz2' -G '*.tar.bz2' -o plusdirs -- "$rhs" ;; |
17 |
55 (*) compgen -o bashdefault -- "$rhs" ;; # punt |
18 |
56 esac) ) |
19 |
|
20 |
|
21 |
Actually seems like quite a few of the bash-completion scripts have |
22 |
issues with 4.0 ... might want to just run through those. |
23 |
|
24 |
-- |
25 |
Thanks, |
26 |
Donnie |
27 |
|
28 |
Donnie Berkholz |
29 |
Developer, Gentoo Linux |
30 |
Blog: http://dberkholz.wordpress.com |