• Marc Khouzam's avatar
    Fix debug printouts for zsh completion · 4fec4b67
    Marc Khouzam authored
    Cobra provides some out-of-the-box debugging for bash completion.
    To use it, one must set the variable BASH_COMP_DEBUG_FILE to
    some file where the debug output will be written.  Many of the
    debug printouts indicate the current method name; they do so
    by using bash's ${FUNCNAME[0]} variable. This variable is
    different in zsh. To obtain the current method name in zsh
    we must use ${funcstack[1]}.
    
    This commit adds the proper sed modification to convert from
    bash to zsh.
    Signed-off-by: 's avatarMarc Khouzam <marc.khouzam@ville.montreal.qc.ca>
    4fec4b67
Name
Last commit
Last update
.circleci Loading commit data...
.github Loading commit data...
_proto Loading commit data...
cmd Loading commit data...
docs Loading commit data...
pkg Loading commit data...
rootfs Loading commit data...
scripts Loading commit data...
testdata Loading commit data...
.appveyor.yml Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
SECURITY_CONTACTS Loading commit data...
code-of-conduct.md Loading commit data...
glide.lock Loading commit data...
glide.yaml Loading commit data...
versioning.mk Loading commit data...