much improved zsh completion script
Steve Borho
steve at ageia.com
Thu Oct 20 06:17:26 BST 2005
On Wednesday 19 October 2005 11:55 pm, John A Meinel wrote:
> > The 'bzr ls' command doesn't seem to be documented anywhere that I can
> > find. Is that command intended to eventually handle some of these types
> > of queries? something like this? bzr ls --added --modified --deleted .
>
> That would be the idea. It is actually a hidden command, and isn't fully
> implemented. It was designed with scripting in mind, though. And so it
> probably just needs to be finished.
>
> If you have ideas about what you want, please state them now, so that we
> can get them in. :)
Well, for my money :)
The 'ls' command should default to listing files in the current directory and
its subdirs unless the --no-recurse option is provided.
A '--cwd' option which allowed you to specify a path relative from the root
would be useful.
Optimally, it would simply output a list of files (one per line) without any
extra formatting, but I could live with single character delimiters.
Oh, and a --print0 option would be extremely useful as well.
> > BTW: I've just stumbled upon the shell-complete function's ability to
> > spit out a list of arguments for each command. This has promise, but I
> > think it would need a bit of work before zsh's compsys could use the
> > output directly.
>
> I think it is also in its growing stage.
Understood.
--
Steve
More information about the bazaar
mailing list