Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH 2/3] Completion/Unix/Command/_git: fix shortlog completer



Bart Schaefer wrote:
> Assuming your current working directory is the root of your git pull,
>
>     fpath=($PWD/{Completion{,/**/_*(N:h)},Functions/*(/N)} $fpath)
>     unfunction -m _git\*
>     autoload -Uz $^fpath/_git*(N:t)
>
> will probably do it.

Works like a charm!  Thank you for this.

Maybe we should write some helpers for developers and put it in
contrib/ or something?  I can think of including this, a setting for
sh-indentation/sh-basic-offset + a hook for turning on
shell-script-mode for relevant files automatically for Emacs, and
something for Vim.



Messages sorted by: Reverse Date, Date, Thread, Author