Re: [PATCH] completion: zsh: improve bash script loading
On Wed, May 29, 2013 at 1:17 AM, Johannes Sixt <j.sixt@viscovery.net> wrote:
Show 15 quoted lines
> Am 5/29/2013 5:24, schrieb Felipe Contreras:
>> +if [ -z "$script" ]; then
>> + local -a locations
>> + locations=(
>> + '/etc/bash_completion.d/git' # fedora, old debian
>> + '/usr/share/bash-completion/completions/git' # arch, ubuntu, new debian
>> + '/usr/share/bash-completion/git' # gentoo
>> + $(dirname ${funcsourcetrace[1]%:*})/git-completion.bash
>> + )
>
> Won't you need
>
> local e
>
> here, or does it not matter?You are right, otherwise it would be in the user's shell.
--
Felipe Contreras