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

(:a) specifier for not existent files



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