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

Re: Feature request: set extension for =( ) created file



> On Sep 24, 2016, at 1:55 PM, Vadim Zeitlin <vz-zsh@xxxxxxxxxxxx> wrote:
> 
> How could the shell possibly do anything that would be better than the
> usual workaround of
> 
> 	vim -c 'setf java' =(...)
> 
> ? You would still need to specify the extension somehow and specifying the
> file type for Vim directly is exactly as simple and doesn't require any
> changes to the shell.

I posit that it is not the shell's responsibility to guess file types
just so an editor will show the right colors.

vq



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