Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
(:a) specifier for not existent files
- X-seq: zsh-workers 30574
- From: Stefan Reichör <stefan@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: (:a) specifier for not existent files
- Date: Wed, 18 Jul 2012 15:12:49 +0200
- Cancel-lock: sha1:BEmkTmDw0jvydtySHANVKi0h4fU=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi,
I am using the (:a) specifier to get absoulte file paths. But this works
only for existing files. Is there a way to make it work for not existing
files also?
These are some experiments:
% echo .(:a)
/home/stefan/work
% echo tgz(:a)
/home/stefan/work/tgz
% echo tgz2(:a)
zsh: no matches found: tgz2(:a)
And here is the function that uses the above feature:
function ec
{
emacsclient --no-wait $1(:a)
}
It would be nice to allow the creation of not existing files in emacsclient...
Thanks,
Stefan.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author