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

Re: how to refer to basename of $0



On Thu, 2011-07-28 at 18:55 -0400, TJ Luoma wrote:
> I have a ".source" file that I use to setup some functions and
> variables for use in my scripts, and one of the things it does it
> this:
> 
> NAME=`basename $0`
> 

name="`basename $0`"
echo $name



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