zsh-workers
 help / color / mirror / code / Atom feed
* (:a) specifier for not existent files
@ 2012-07-18 13:12 Stefan Reichör
  2012-07-18 13:40 ` Peter Stephenson
  2012-07-18 14:42 ` Mikael Magnusson
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Reichör @ 2012-07-18 13:12 UTC (permalink / raw)
  To: zsh-workers

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-18 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-18 13:12 (:a) specifier for not existent files Stefan Reichör
2012-07-18 13:40 ` Peter Stephenson
2012-07-18 14:42 ` Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).