Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Feature request: set extension for =( ) created file
- X-seq: zsh-users 21960
- From: Lawrence Velázquez <larryv@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Feature request: set extension for =( ) created file
- Date: Sat, 24 Sep 2016 14:43:53 -0400
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=2yYbJ56UecSlEnA FM2FweBHc7Qo=; b=YuFzSNDX/ybVv2JTRk+ucvSpTwVqKF9FLGpU2FoTdBoWW3Y GgW9L34waeoNsHJ6migYU+c2fzgwLppqBVhrmYOfRNU2oR39NyVBpAlqlBi2DKx/ IPUUjXZbx5CpNeqvryUK2h9cmgt+ql17M5UbxeEeoSsYw1ui9xOSfb5NRYpY=
- In-reply-to: <E1bnrAX-00042r-V1@smtp.tt-solutions.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVCgakJrUneg_6sWWu0rLpJzicrKV5yyikua0_rNfDXvcg@mail.gmail.com> <E1bnrAX-00042r-V1@smtp.tt-solutions.com>
> 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