Bug 50981
Summary: | webkit-patch should use optcomplete to provide bash/zsh autocompletion | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | abarth, aroben, arv, jianli, levin |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 | ||
Bug Depends on: | 91606 | ||
Bug Blocks: |
Eric Seidel (no email)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
Nevermind, it was clearly designed with our use in mind!
http://furius.ca/optcomplete/bin/optcomplete-commands
Eric Seidel (no email)
Turns out someone already made a manual attempt:
http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkit-tools-completion.sh
David Levin
(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
I've been using webkit-tools-completion.sh. It's awesome. +1 to building it in.