From: Zefram <A.Main@dcs.warwick.ac.uk>
To: alex_ramos@wiltel.com
Cc: zsh-users@math.gatech.edu (Z Shell users mailing list)
Subject: Re: accessing full command line
Date: Wed, 6 Sep 1995 10:19:53 +0100 (BST) [thread overview]
Message-ID: <2926.199509060919@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <199509051356.AA02701@intruder.wiltel.com> from "Alex Ramos" at Sep 5, 95 08:56:41 am
>I would like to know if there is any way (e.g. an undocumented
>feature or a source code patch) in zsh to access the full
>command line passed to a function or alias. For example, if
>'foo' is a function, and I type
>
> foo "blah blah $$" $XYZ
>
>I'd like to (inside 'foo') have access to the string '"blah blah $$" $XYZ'
>as it was typed.
No, there's no way. But if all you want to do is inhibit globbing, you
could do
alias foo="noglob foo"
-zefram
next prev parent reply other threads:[~1995-09-06 9:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-09-05 13:56 Alex Ramos
1995-09-06 9:19 ` Zefram [this message]
1995-09-06 15:41 ` Alex Ramos
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=2926.199509060919@stone.dcs.warwick.ac.uk \
--to=a.main@dcs.warwick.ac.uk \
--cc=alex_ramos@wiltel.com \
--cc=zsh-users@math.gatech.edu \
/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).