Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: accessing full command line



>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