Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Remove = in alias completion
- X-seq: zsh-workers 25614
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Remove = in alias completion
- Date: Wed, 3 Sep 2008 09:26:29 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1220435304; i=@xxxxxxxxxxxx; bh=bA5LPcRgkxxzS7Ffxn2aBsu13pwKncOOJ V/XSOVJCVI=; h=To:From:Subject:Date:Message-ID:References: Mime-Version:Content-Type:Content-Transfer-Encoding:Sender; b=Sknj X90R6pcJW6npu5WBot051CZ/ar6jqcCrGBC3XGhmRLzZI3LtnyDhyHunx/0g+cq01fx 16ZXCRZVCj9A0V58TvZ8rwizPUO3fy21zrBemnf3zoOlVVQQEwxnXvd89F2y9ByeQ8Z XyZes4afaJFXzD4RJG9g9Y5ub8yYIJ+ig=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrngbri9t.1qt.joerg@xxxxxxxxxxxx> <alpine.LNX.1.00.0809030127090.8052@localhost>
- Sender: news <news@xxxxxxxxxxxx>
Hallo Mikael,
Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> On Tue, 2 Sep 2008, Jörg Sommer wrote:
>
>> I find it anoying to enter ‘alias gd<TAB>’, get ‘alias gdb=’ and if I hit
>> return to see the definition of the alias, it gets cleared. So I propose
>> this patch.
>>
>
> This is probably what you meant, pasting wordcolor diffs in emails
> generally doesn't work out well :).
Yes, I was to hasty.
> --- a/Completion/Zsh/Command/_alias
> +++ b/Completion/Zsh/Command/_alias
> @@ -19,6 +19,6 @@ if [[ -n "$state" ]]; then
> compset -S '=*' || suf='='
> type=( ${opt_args[(i)[-+][grs]]#?} )
> (( $#type )) && type=( -s $type )
> - _wanted -x alias expl 'alias definition' _aliases -S "$suf" "$type[@]"
> + _wanted -x alias expl 'alias definition' _aliases -qS "$suf" "$type[@]"
> fi
> fi
Bye, Jörg.
--
But in the case of "git revert", it should be an ancestor (or the user
is just insane, in which case it doesn't matter - insane people can do
insane things)
Linus Torvalds <alpine.LFD.1.00.0801041031590.2811@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author