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

Re: 4.2.0 released



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?

Of course that would have required a module.

} Line editor:
} - recursive editing

Which is not quite the same as recursively invoking zle, e.g., I think you
still get some sort of warning if you try to run "vared" from inside a
widget function.



Messages sorted by: Reverse Date, Date, Thread, Author