Hello,
Currently completion of long options that take arguments is pretty bad. For
an example, many completions list things like --foo= in their compgen -W
strings which end up completed as --foo\= which is annoying, especially the
trailing space. Some completions use internal workarounds
Bugs item #311595, was changed at 11/04/2009 04:30 by David Paleino
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detailatid=413095aid=311595group_id=100114
Status: Pending
Priority: 3
Submitted By: Olivier Crête (tester-guest)
Assigned to: David Paleino (hanska-guest)
Bugs item #311510, was changed at 27/02/2009 16:26 by David Paleino
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detailatid=413095aid=311510group_id=100114
Status: Closed
Priority: 3
Submitted By: Santiago Moisés Mola Velasco (coldwind-guest)
Assigned to: Ville Skyttä
Bugs item #311544, was changed at 15/03/2009 21:02 by David Paleino
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detailatid=413095aid=311544group_id=100114
Status: Closed
Priority: 3
Submitted By: Ville Skyttä (scop-guest)
Assigned to: Mike Kelly (pioto-guest)
Summary:
Bugs item #311595, was changed at 11/04/2009 04:30 by David Paleino
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detailatid=413095aid=311595group_id=100114
Status: Closed
Priority: 3
Submitted By: Olivier Crête (tester-guest)
Assigned to: David Paleino (hanska-guest)
Bugs item #311420, was changed at 30/01/2009 10:42 by David Paleino
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detailatid=413095aid=311420group_id=100114
Status: Pending
Priority: 1
Submitted By: David Paleino (hanska-guest)
Assigned to: David Paleino (hanska-guest)
Bugs item #311420, was changed at 30/01/2009 10:42 by David Paleino
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detailatid=413095aid=311420group_id=100114
Status: Open
Priority: 1
Submitted By: David Paleino (hanska-guest)
Assigned to: David Paleino (hanska-guest)
On Mon, 13 Apr 2009 14:23:09 +0300, Ville Skyttä wrote:
Hello,
Hello Ville,
Currently completion of long options that take arguments is pretty bad.
Yes, definitely.
For an example, many completions list things like --foo= in their compgen
-W strings which end up completed as --foo\=
On Monday 13 April 2009, David Paleino wrote:
On Mon, 13 Apr 2009 14:23:09 +0300, Ville Skyttä wrote:
The patch looks good to me, just one *curiosity* (i.e. only curiosity,
nothing to fix :P): why are you quoting
+ prev=${cur%%?(\\)=*}
+ cur=${cur#*=}
?
No
On Sunday 12 April 2009, gibbo...@gmail.com wrote:
COMPREPLY=( $( sed -n /UUID/s/^UUID=\($cur[0-9a-f-]\{,36\}\).*/\1/Ip
/etc/fstab ) )
I think this would be better put as:
COMPREPLY=( $( compgen -W '$( sed -ne s/^UUID=\([^[:space:]]*\).*/\1/p
/etc/fstab )' -- $cur ) )
compgen -W ... -- $cur
10 matches
Mail list logo