Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: accessing full command line
- X-seq: zsh-users 62
- From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- To: alex_ramos@xxxxxxxxxx
- Subject: Re: accessing full command line
- Date: Wed, 6 Sep 1995 10:19:53 +0100 (BST)
- Cc: zsh-users@xxxxxxxxxxxxxxx (Z Shell users mailing list)
- In-reply-to: <199509051356.AA02701@xxxxxxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author