Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
named directory expansion on strings
- X-seq: zsh-users 7165
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: named directory expansion on strings
- Date: Sat, 13 Mar 2004 04:29:08 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
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