Re: [PATCH] improved bash completion v2
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-11-14 21:31:03 CET
First, a note for other readers:
This patch makes Bash suggest different completions in different circumstances:
(An underscore indicates the cursor.)
$ svn ps svn:log _
It is now suggesting that either a literal value (perhaps starting with a
$ svn ps svn:log --revprop --revision 10 --p_
-------------------------------
I found some bugs:
(1)
This doesn't happen every time, only when trying that completion for the first
(2)
That's the name of a local file; it should complete the subcommand name "blame"
$ svn pset svn:mime-type ima_ www/images/jolt-2005.jpg
Similarly, here I expect the completion "image/", but it doesn't recognise that
(3)
Bash beeps, presumably because this script returns no results. It should
-------------------------------
I haven't looked much at the code yet, but I saw one little thing:
> + # commands which only expect two arguments
"move" also has aliases "ren" and "rename".
- Julian
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.