On Thu, Mar 24, 2011 at 16:30:12 +0100, Janjaap van Velthooven wrote:
> On Thu, Mar 24, 2011 at 03:40:56PM +0100, LEVAI Daniel wrote:
> > On Thu, Mar 24, 2011 at 15:48:56 +0300, Alexander Polakov wrote:
> > > And just for the archives, a patch that really works as advertised
> > > (and using it for some time I feel like it *is* a good idea).
> > 
> > It is really working well. Thanks!
> > However, I don't quite understand why '[' needs to be escaped during
> > completion:
> > 
> > $ ls -la [\ ]\ [\ ]\ []\ ][
> > $ ls -la \[\ ]\ \[\ ]\ \[]\ ]\[
> > 
> > these two produce the same result:
> > -rw-r--r--  1 daniell  daniell  0 Mar 24 15:38:38 2011 [ ] [ ] [] ][
> 
> for the following for example:
> 
> $ touch adef '[abc]def'
> $ ls [abc]def
> adef
> $ ls \[abc]def
> [abc]def
> $
Oh, how marvelous! Thanks!


Daniel

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

Reply via email to