From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2437 invoked by alias); 19 Apr 2011 14:09:43 -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: 15962 Received: (qmail 10063 invoked from network); 19 Apr 2011 14:09:32 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at mail.nih.gov designates 128.231.90.108 as permitted sender) X-IronPortListener: NIH_Relay X-SBRS: None X-IronPort-AV: E=Sophos;i="4.64,239,1301889600"; d="scan'208";a="246191814" X-Authentication-Warning: cosy.cit.nih.gov: arif set sender to Anthony R Fletcher using -f Date: Tue, 19 Apr 2011 09:59:09 -0400 From: Anthony R Fletcher To: Subject: Suffix alias for README files Message-ID: <20110419135909.GA21897@cosy.cit.nih.gov> Mail-Followup-To: zsh-users@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (cake.cit.nih.gov [165.112.93.31]); Tue, 19 Apr 2011 09:59:11 -0400 (EDT) I can use suffix aliases to display various .txt files. So alias -s txt=less ./x.txt actually runs less ./x.txt Can I do a similar thing for README files? So the "command" /some/path/README will really run the command less /some/path/README Anthony