Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Alias named '='
- X-seq: zsh-users 22923
- From: Daniel Shahaf <danielsh@xxxxxxxxxx>
- To: René Neumann <lists@xxxxxxxxx>
- Subject: Re: Alias named '='
- Date: Sun, 8 Oct 2017 18:37:56 +0000
- Cc: Vincent Bernat <bernat@xxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=ot+79RyE5gRfIr0s4WvIyTbAQYXk/YgccX2y2d1TE3k=; b=IrQ59Nkw ESKHyWZNtun6mJP4FV7Rquu3GeIB0gR5VuBOTejCjKWfSm3/XP0TK9LRk8sK3sGW lrZGITP4xNGJnt9XY3tvmD9OQEzmia1NO8P4YBh/wBegVcdCPKUYn11TVZe9RZk4 UqrfLMnIxc8TkbauC5ySkqJBAqSNQKjLiWuP/0UnAeh/SV/XH3CTVa8oDVC4nj2w 6/wxFZ6XePQtcNTlWGoXC9nHkGltCJFH/S4Qzw9etSgqH3MeoKbk9SQhxDAse7MJ 0i5+SFrmj1LmnryxKfSQSrYjQl4OzGYw8VGpv9g7h9pZ+3bV+2qQ5u+dTh75fKpr 3op9TqG93u27GQ==
- In-reply-to: <7d8ab2fa-3130-1e43-8807-f94025fd62ed@necoro.eu>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <6e3f43ea-45b0-d6a8-43b9-18845ea4edc9@necoro.eu> <m360bqt54h.fsf@luffy.cx> <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author