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 $ > Daniel Janjaap van Velthooven -- ________________________________________ / __/ /_ / ______/ /_ __/ __/ /___ / / /_ __/___/_/_ /___ / / __/ /___ / / janj...@stack.nl /___/_/_________/_____/_/_/_/_______/_/_/