zsh-users
 help / color / mirror / code / Atom feed
From: Lloyd Zusman <ljz@asfast.com>
To: zsh-users@sunsite.dk
Subject: Re: 4.2.0 released
Date: Fri, 19 Mar 2004 11:45:20 -0500	[thread overview]
Message-ID: <m33c84rdjz.fsf@asfast.com> (raw)
In-Reply-To: <1040319154111.ZM11525@candle.brasslantern.com>

Bart Schaefer <schaefer@brasslantern.com> writes:

> Assorted thoughts ...
>
> On Mar 19, 11:36am, Peter Stephenson wrote:
> }
> } - Suffix aliases allow the shell to run a command on a file by suffix,
> }   e.g `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'.  Supplied
> }   function zsh-mime-setup uses existing mailcap and mime.types files
> }   to set up suitable aliases.
>
> Reading that, I wonder ... why did we do this with suffixes?  Why not be
> Unix-like rather than DOS-like:  check /etc/magic on any file that the OS
> fails to execute, and choose the command based on that?

... or perhaps to rely on a regex match on the file name, instead
of either a suffix or /etc/magic.


> Of course that would have required a module.

Would it require a module simply if it's a regex match?


> [ ... ]

-- 
 Lloyd Zusman
 ljz@asfast.com


      parent reply	other threads:[~2004-03-19 17:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-19 11:36 Peter Stephenson
2004-03-19 15:41 ` Bart Schaefer
2004-03-19 16:39   ` Peter Stephenson
2004-03-19 16:45   ` Lloyd Zusman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m33c84rdjz.fsf@asfast.com \
    --to=ljz@asfast.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).