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

named directory expansion on strings



Is there a way to perform "named directory" expansion on strings?
Something like "autonamedirs" and the "%~" in the prompt...

% file=/etc/foo
% ETCDIR=/etc
% echo `bar#!$whatever($file)`
~ETCDIR/foo
%

Thorsten



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