1 |
Hi all, |
2 |
|
3 |
here is a slightly updated emerge bash completion which also completes |
4 |
the arguments now and adds 'update' and 'system' to the completions. |
5 |
|
6 |
I have one problem though. emerge --usepkg should complete on files. |
7 |
Normally a command that completes on files is defined with 'complete -f |
8 |
command'. The bash info says that the 'comspec' builtin which is used to |
9 |
generate completion matches generates those matches in the same way as |
10 |
'complete', however when using 'comspec -f' the filename completion |
11 |
stops after one path element and doesn't continue until a file has been |
12 |
reached. Does someone know how to work around this? |
13 |
|
14 |
Geert. |
15 |
|
16 |
-- |
17 |
Geert Bevin |
18 |
the Leaf sprl/bvba |
19 |
"Use what you need" Pierre Theunisstraat 1/47 |
20 |
http://www.theleaf.be 1030 Brussels |
21 |
gbevin@×××××××.be Tel & Fax +32 2 241 19 98 |