From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16441 invoked by alias); 15 Aug 2011 07:18:29 -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: 16245 Received: (qmail 15598 invoked from network); 15 Aug 2011 07:18:28 -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 sebastian.tramp.name does not designate permitted sender hosts) Date: Mon, 15 Aug 2011 09:18:24 +0200 From: Sebastian Tramp To: TJ Luoma Cc: zsh-users@zsh.org Subject: Re: `ls *(.)` shows "just files", what shows "just folders"? Message-ID: <20110815071824.GA5570@soljaris7.informatik.informatik.uni-leipzig.de> Mail-Followup-To: TJ Luoma , zsh-users@zsh.org References: <20110815014137.GN20653@prunille.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE8093B579D601B44 X-FOAF: http://sebastian.tramp.name User-Agent: Mutt/1.5.21 (2010-09-15) On Sun, Aug 14, 2011 at 10:24:22PM -0400, TJ Luoma wrote: > > See "Glob Qualifiers" in the zshexpn man page. > > Thanks to all… > > Not to be greedy, but is there a way to get the listing without the > trailing "/"? it sounds for me that you want to use the output for another command so I suggest to use print *(/) instead of using ls (and stumble upon its aliases), this is much more stable regarding environment changes. Best regards Sebastian Tramp -- Sebastian Tramp WebID: http://sebastian.tramp.name