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

Re: Echoing Parameters $1



On 2005-02-18 17:12:44 +0000, zzapper wrote:
> I feel I'm gonna be flamed here
> 
> Here's a real simple function
> 
> #!zsh

You need a full absolute path. I recommend:

#!/usr/bin/env zsh

> # name : zv
> echo $1
> 
> When I call it I get
> 
> >zv goat
> VIM=/c/vim/vim63/

Output of "which zv"?

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author