From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13338 invoked by alias); 20 Apr 2011 10:07:48 -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: 15968 Received: (qmail 24953 invoked from network); 20 Apr 2011 10:07:47 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at biskalar.de does not designate permitted sender hosts) Subject: Re: Suffix alias for README files Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Sebastian Stark In-Reply-To: <20110419135909.GA21897@cosy.cit.nih.gov> Date: Wed, 20 Apr 2011 11:23:07 +0200 Cc: Content-Transfer-Encoding: quoted-printable Message-Id: <1590CA5C-3329-4DF1-8E73-E7FE218A21D9@biskalar.de> References: <20110419135909.GA21897@cosy.cit.nih.gov> To: Anthony R Fletcher X-Mailer: Apple Mail (2.1084) Am 19.04.2011 um 15:59 schrieb Anthony R Fletcher: > I can use suffix aliases to display various .txt files. So >=20 > alias -s txt=3Dless > ./x.txt >=20 > actually runs >=20 > less ./x.txt >=20 > Can I do a similar thing for README files? So the "command" >=20 > /some/path/README >=20 > will really run the command=20 >=20 > less /some/path/README It doesn't really answer your question, but are you aware of nullcmd = redirection?