Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
function to return most recently modified file to command line
- X-seq: zsh-users 6956
- From: Eric Smith <es@xxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: function to return most recently modified file to command line
- Date: Tue, 23 Dec 2003 00:56:58 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I would like to have a function ideally to bind to a key combination
that returns the most recent file to the command line.
Like I might type
$ acroread <Alt-B>
would give
$ acroread todays_news.pdf
A couple of nice extra features would be:
Specify the type of file say `pdf' or `txt' for the latest instance
of that type of file.
Also the function could automatically add an <enter> after returning the
filename.
thanx!
--
Eric Smith
Messages sorted by:
Reverse Date,
Date,
Thread,
Author