commit | 2cf025e69543f5f4aa68e8549d60680515fef5ad | [log] [tgz] |
---|---|---|
author | Ramkumar Ramachandra <artagnon@gmail.com> | Sun Nov 17 21:43:23 2013 +0530 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Wed Nov 27 14:58:35 2013 -0300 |
tree | e725c9d6c1e057a0a7dfa538a52cce49c5268624 | |
parent | bf80669e4f689f181f23a54dfe2a0f264147ad67 [diff] |
perf completion: Introduce a layer of indirection Define the variables cur, words, cword, and prev outside the main completion function so that we have a chance to override it when we introduce zsh support. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Link: http://lkml.kernel.org/r/1384704807-15779-2-git-send-email-artagnon@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>