Re: [PATCH] completion: move private shopt shim for zsh to __git_ namespace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 28, 2011 at 12:27 AM, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
> Felipe Contreras wrote:
>> +++ b/contrib/completion/git-completion.bash
>> @@ -75,6 +75,10 @@
>>
>> Âif [[ -n ${ZSH_VERSION-} ]]; then
>> Â Â Â Â autoload -U +X bashcompinit && bashcompinit
>> +
>> + Â Â Â # 'words' has special meaning in zsh, and only typeset -h seems to
>> + Â Â Â # override that
>> + Â Â Â alias local="typeset -h"
>> Âfi
>>
>> Âcase "$COMP_WORDBREAKS" in
>
> The above would change the meaning of "local" in the user's
> environment and in all shell snippets she sources later. ÂAre you sure
> that's intended?

Crap. I didn't realize that :(

I have been looking for a way to have local aliases or functions, but
I can't find any.

-- 
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]