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

Re: Function call problems



Meino Christian Cramer <Meino.Cramer@xxxxxx>:
> Hi,
> 
>  I defined a function like that:
> 
>      function listall() {
> 	    ls ${THISDIR}/*
>      }
> 
>  and want to call it like
> 
>      listing=listall
> 
>  but after
> 
>      echo listing
> 
>  I got 
> 
>     listall

% listing=$( listall )

Regards, Frank



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