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

Parameter Expansion



Having trouble getting nested parameter substitution working again, how can these two lines be correctly merged into a single line:

    FUNCS=( $SD/autoload/*);
    FUNCS=${(@)FUNCS:t};

Assume for arguments sake that SD is a working directory with an autoload directory and autoload has one file in it (named pv).

The above two lines together properly produce ( pv ).

Thanks,

--
-Clint


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