From: Daniel Shahaf <danielsh@apache.org>
To: "René Neumann" <lists@necoro.eu>
Cc: Vincent Bernat <bernat@luffy.cx>, Zsh Users <zsh-users@zsh.org>
Subject: Re: Alias named '='
Date: Sun, 8 Oct 2017 18:37:56 +0000 [thread overview]
Message-ID: <20171008183756.h45qeeqqbn2wthh3@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <7d8ab2fa-3130-1e43-8807-f94025fd62ed@necoro.eu>
René Neumann wrote on Sun, Oct 08, 2017 at 12:57:43 +0200:
> Am 08.10.2017 um 10:29 schrieb Vincent Bernat:
> > I am using "c" instead of "=", but you can use "=" with:
> >
> > aliases[=]='noglob ='
> >
>
> Ah, thanks! That worked.
It did, but setting aliases this way not supported:
% aliases[=]='echo foo'
% alias -L >/dev/null
zsh: invalid alias '=' encountered while printing aliases
%
Context: http://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=37548
Suggest that you use something other than '=' as the first character.
Cheers,
Daniel
next prev parent reply other threads:[~2017-10-08 18:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-08 8:03 René Neumann
2017-10-08 8:29 ` Vincent Bernat
2017-10-08 10:57 ` René Neumann
2017-10-08 18:37 ` Daniel Shahaf [this message]
2017-10-08 22:37 ` Ray Andrews
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=20171008183756.h45qeeqqbn2wthh3@tarpaulin.shahaf.local2 \
--to=danielsh@apache.org \
--cc=bernat@luffy.cx \
--cc=lists@necoro.eu \
--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).