zsh-workers
 help / color / mirror / code / Atom feed
From: "Jörg Sommer" <joerg@alea.gnuu.de>
To: zsh-workers@sunsite.dk
Subject: Re: Remove = in alias completion
Date: Wed, 3 Sep 2008 09:26:29 +0000 (UTC)	[thread overview]
Message-ID: <slrngbsm25.1qt.joerg@alea.gnuu.de> (raw)
In-Reply-To: <alpine.LNX.1.00.0809030127090.8052@localhost>

Hallo Mikael,

Mikael Magnusson <mikachu@gmail.com> 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@woody.linux-foundation.org>


      reply	other threads:[~2008-09-05  8:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02 23:16 Jörg Sommer
2008-09-02 23:28 ` Mikael Magnusson
2008-09-03  9:26   ` Jörg Sommer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrngbsm25.1qt.joerg@alea.gnuu.de \
    --to=joerg@alea.gnuu.de \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).