From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24718 invoked by alias); 15 Sep 2016 23:20:41 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21922 Received: (qmail 22940 invoked from network); 15 Sep 2016 23:20:41 -0000 X-Qmail-Scanner-Diagnostics: from mail-pa0-f46.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.220.46):SA:0(0.0/5.0):. Processed in 0.307245 secs); 15 Sep 2016 23:20:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: zv@nxvr.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.220.46 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxvr.org; s=google; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=RQVqZUHMqFqciMMG53SRjnBwOuMqxYi8bgWyOd/O1p4=; b=WyT//JzYdBKAzSJHrDpRmfVwAJKpHOpAiumVvs40FDhsjvofRNDr8F536IPg23+0Xt iuqh79+9LtWNoxF06mXqEPt5v1rINNaO/jLDVfFv8ynhWCNBtr8ZCfBZ0t33ZNFfRt8l rU7XOy8/G7p7kiP52MgsvzRI1BvTf5lGYL8w4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=RQVqZUHMqFqciMMG53SRjnBwOuMqxYi8bgWyOd/O1p4=; b=HphNN/XXypd0S8oPj+2Kow9CthrrMrwPizPlmk+Pz38pLRIRs2X7hOC0nr3KJpKelO OS5AlR/LISklzkCkjDwOAzZDeheAP8NB+QXFLjjE+wom/uIUvKYDuhe9wlxfLp62yUpe zj1CLWw+SdNEQOjyXLQYqqJiKFMMPDmn/4jQ81q86g003eFyRUNtC5NluibroVcYIvpr zSmBuVOxvSArWJkpCOFqMsDlHXy2XbT0I8s46R7qqwdmcF+JXhgN9YA+B9C8FDCp7g5L bim4xtVYEWrKcaNTxIEUMsE2UliWPUgbztdPbhHQehWy8HYeIJ4WY2lWY6g8zZT9DyKH wmwg== X-Gm-Message-State: AE9vXwP8A9SIxTqQNjCGYxxh82qoMnm/2nxclICeKG7t4aaYgclJ2ZHJPf08VwkoTIVG0A== X-Received: by 10.66.5.5 with SMTP id o5mr18475556pao.38.1473981634299; Thu, 15 Sep 2016 16:20:34 -0700 (PDT) Subject: Re: Treating alias or function arguments literally To: =?UTF-8?Q?J=c3=a9r=c3=a9mie_Roquet?= References: Cc: Zsh Users From: zv Message-ID: <58b1b8df-7946-ba27-342f-d842dabd691d@nxvr.org> Date: Thu, 15 Sep 2016 16:20:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit I have already declared this function `noglob' & `nocorrect' (I just checked with an alias and that doesn't effect it either) On 09/15/2016 03:48 PM, Jérémie Roquet wrote: > Hi, > > 2016-09-15 23:47 GMT+02:00 zv : >> 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, >