Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Treating alias or function arguments literally
- X-seq: zsh-users 21921
- From: Jérémie Roquet <jroquet@xxxxxxxxxxxxx>
- To: zv <zv@xxxxxxxx>
- Subject: Re: Treating alias or function arguments literally
- Date: Fri, 16 Sep 2016 00:48:59 +0200
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=EbxXhZ0qaSDn1GhVM7P0XlY2P1JPZHZXRXFvebr58Jg=; b=CTUB3ywRwTlcoVS4qI9yJ2J7xcre3XAURKuMBdWyYW26MkHRBCblWTtEzvIiO7Wqi+ v8PS5cLa0MnSfK8EJEIygBXg81OHv88Ezd7FQ7psa0uyqnyLpMUrJpVWYfzZypT5ts8V DQhv9VlFr4qlrc0ncdZ+SZidX1jc41n1UGrSck0qwJMh7VLRMJmUsKsFiGQolwiBKhjk c63CE5ZQWJyMNj1wW9Iflik1sYqm82igwi2h1VaGAnjHkEzArdtFdOKRadowdNJGs+5c JcoPJ1KN3NRsNg+FbjUQUKpwvvz2Xno/hheMvEuNKx0BcAn+yl5rqo/WM7ymGKtXAW+y cKSw==
- In-reply-to: <bf4416db-d9ce-5e1b-bbd6-5ed77067b1b3@nxvr.org>
- 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: <bf4416db-d9ce-5e1b-bbd6-5ed77067b1b3@nxvr.org>
- Sender: arkanosis@xxxxxxxxx
Hi,
2016-09-15 23:47 GMT+02:00 zv <zv@xxxxxxxx>:
> I have a calculator function that I use from ZSH directly which frequently triggers shell expansion, e.g
>
> [zv@syszv] ~/zv.github.com [master*] >> calc 20*15/2
> zsh: no matches found: 20*15/2
>
> Is there any way I can ask zsh to supply a particular alias or functions parameters either without expansion or as a single string?
Sure: alias calc='noglob calc'
Best regards,
--
Jérémie
Messages sorted by:
Reverse Date,
Date,
Thread,
Author