NEW 50981
webkit-patch should use optcomplete to provide bash/zsh autocompletion
https://bugs.webkit.org/show_bug.cgi?id=50981
Summary webkit-patch should use optcomplete to provide bash/zsh autocompletion
Eric Seidel (no email)
Reported 2010-12-13 15:01:22 PST
webkit-patch should use optcomplete to provide bash/zsh autocompletion Would be easy to use thirdparty.autoinstalled to install: http://furius.ca/optcomplete/ I'm not sure how nice it will play with our multi-level command stuff. But it would be an awesome feature to have. There may also be more modern python libraries for this stuff.
Attachments
Eric Seidel (no email)
Comment 1 2010-12-13 15:03:09 PST
Nevermind, it was clearly designed with our use in mind! http://furius.ca/optcomplete/bin/optcomplete-commands
Eric Seidel (no email)
Comment 2 2010-12-13 15:07:55 PST
David Levin
Comment 3 2010-12-13 15:37:44 PST
(In reply to comment #2) > Turns out someone already made a manual attempt: > http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkit-tools-completion.sh It was me. Over the last few days, I was just thinking that this should be internal to webkit-patch (but haven't made fwd progress on that at all).
Ojan Vafai
Comment 4 2010-12-13 16:19:25 PST
I've been using webkit-tools-completion.sh. It's awesome. +1 to building it in.
Note You need to log in before you can comment on or make changes to this bug.