zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: Tab Expanding Global Aliases
Date: Tue, 04 Feb 2014 11:34:36 -0800	[thread overview]
Message-ID: <140204113436.ZM21602@torch.brasslantern.com> (raw)
In-Reply-To: <XnsA2CAB8DFCBF10davidrayninfocouk@80.91.229.13>

On Feb 4,  6:10pm, zzapper wrote:
}
} I guess this must be an old chestnut for this NG.
} But is there any reason why global aliases are not/could be tab expandable?

There's not only no reason, it's already supported.

zstyle ':completion:*' completer _expand_alias _expand _complete _ignored

Augmented with e.g.

zstyle ':completion:*:expand-alias:*' disabled yes

if you want to expand aliases with tab that would otherwise not expand.
(I haven't actually tried that ...)


  reply	other threads:[~2014-02-04 19:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 18:10 zzapper
2014-02-04 19:34 ` Bart Schaefer [this message]
2014-02-04 20:43   ` zzapper
2014-02-04 23:52 ` Oliver Kiddle
2014-02-05 13:11   ` zzapper
2014-02-05 13:48     ` Oliver Kiddle
2014-02-05 14:50       ` zzapper
2014-02-05 15:04         ` Peter Stephenson

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=140204113436.ZM21602@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /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).