Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: `ls *(.)` shows "just files", what shows "just folders"?



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



Messages sorted by: Reverse Date, Date, Thread, Author