From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26080 invoked by alias); 24 Sep 2016 19:30:50 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21963 Received: (qmail 23176 invoked from network); 24 Sep 2016 19:30:50 -0000 X-Qmail-Scanner-Diagnostics: from mail-qk0-f174.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.220.174):SA:0(0.0/5.0):. Processed in 0.335297 secs); 24 Sep 2016 19:30:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.220.174 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=JQq63rNCFVLDZruQE6TCxmMFJvLq24rCMf1qbfth4Wc=; b=VDUHxEUxBsuFRke+7PYW1sI0W1D/pv0HpYhw1g8iT+Y/VGUeoQEVtoUtimStGf3JBA oQgG50GWPCT/W8YT6763elPZO02Ry/aSxO32Myn0RHmVtbnPaQM/1LsjXzjWqGjwrKV4 2sd6C2jqY9k00zNz3UBvQ1VJJTfqxHToiIu8neFAzWX5BRyEGQpc8EoL8ks6iRB9pnwn 4c5SuHwzySuFtXu6scWzghvZ1GFdLoOBmVz6AGOQZamRLOgNQnZsh5ZmQjAIfA0kEquA b9PErZzUu7ATAvZUmcHow6eHTHQtTynnv6Z2vZf3YTMDXpP9JUiK7TOfQdW1vXtRSktW bwLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=JQq63rNCFVLDZruQE6TCxmMFJvLq24rCMf1qbfth4Wc=; b=LqHtn1m1ZNW6az+xtymdHCep6OXyNBl2av2TfJsuwzD8jCbqLkDmqcYwSHy7XALImo sTaedF8qHbKZIpjhtvXSajKffQIHyNrqDFbn7sc5WhcpmpYtbUYG7tn18NXkrq5nbC4N zYypI1VR7T1B1duTRgk4Jtjfi9GnL/p5ireXiofQHCsRct7aqWz6f/fOsQ+fbsCww8CS 494vc8cspI72GtQuTdg2ryd3r69YBk5P/M0tCwEufpswxQzSX0xe0LGRSftHg8vJGlCI it1gF2qd/mJTvvHGJWHldVqsChs8WZ6FSMuPuSNsqb/wr2FvCe934WgJUzP4z8iusU/+ Oq2w== X-Gm-Message-State: AA6/9RmtNGFO/heofb6Au++kESvp7Lwks0R6aUB93JB9U8O1pdK98t3tgE9wxe3Y3WzF/Fl9UseWaqcL0RRqqQ== X-Received: by 10.55.179.130 with SMTP id c124mr15116585qkf.295.1474745445019; Sat, 24 Sep 2016 12:30:45 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4DC55226-A041-42E5-B8B1-3AB1E7E6AB53@macports.org> References: <4DC55226-A041-42E5-B8B1-3AB1E7E6AB53@macports.org> From: Sebastian Gniazdowski Date: Sat, 24 Sep 2016 21:30:24 +0200 Message-ID: Subject: Re: Feature request: set extension for =( ) created file To: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 24 September 2016 at 20:43, Lawrence Vel=C3=A1zquez wrote: >> On Sep 24, 2016, at 1:55 PM, Vadim Zeitlin wrote: > I posit that it is not the shell's responsibility to guess file types > just so an editor will show the right colors. What vim does is a fancy ignorable thing for some, what other program might do might not be. Extensions are vital parts of file names. I'm doing git ls-tree and feed selected blob to $EDITOR =3D( ). Bam, Github's "Browse files" implemented. Will be crying having to move to mktemp or something different, =3D( ) "idiom" is great. But I rather leave this as it is, user will rather not be offended when doing :w ~/extracted_file.java or :set ft=3Djava. Extension-aware =3D( ) would be a masterpiece feature for Zsh, though, IMO. Best regards, Sebastian Gniazdowski