[PATCH 0/5] zsh support for perf completion

Ramkumar Ramachandra
2013-11-17T16:22:24Z

Hi,

I'm pleased to announce zsh support for the perf completion script,
added this lazy Sunday afternoon. I'm not very good at shell
scripting, so these patches can definitely use more eyes. Frankly, I'm
mildly surprised that this hack even works: please test carefully and
report bugs.

[1/5] to [3/5] factors things out and prepares the stage for [4/5],
which is the focus of the series. [5/5] is just a pure rename.

Thanks.

Ramkumar Ramachandra (5):
perf completion: introduce a layer of indirection
perf completion: factor out compgen stuff
perf completion: factor out call to __ltrim_colon_completions
perf completion: introduce zsh support
perf completion: rename file to reflect zsh support

tools/perf/{bash_completion => perf-completion.sh} | 100 ++++++++++++++++++---
1 file changed, 88 insertions(+), 12 deletions(-)
rename tools/perf/{bash_completion => perf-completion.sh} (65%)

--
1.8.5.rc0.6.gfd75b41