This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: ls incorrectly shows system hidden files
- From: "Kim Scarborough" <lists at jinx dot unknown dot nu>
- To: "Wendell Pinegar" <wpinegar at healthtech dot net>, <cygwin at cygwin dot com>
- Date: Wed, 31 Jul 2002 16:27:51 -0500
- Subject: Re: ls incorrectly shows system hidden files
- References: <C509498BA0E6D411B9C6006008F6053CF23E93@mail.healthtech.net>
> I just noticed that the "ls" command in cygwin shows Windows system hidden
> files. Hidden files shouldn't be listed by the ls command! Can this be
> changed?
Heh. Funny complaint. Probably the solution that's the most theoretically
faithful to the cygwin philosophy would be to somehow get ls to not list those
files unless you specified -a. The thing is, though, that this would probably
be a huge PITA to code for a feature that almost nobody wants anyway. So I
wouldn't hold my breath.
Here's the only kludge I could think of. Add this to your .bash_profile (or
/etc/profile if you want it to be global):
alias ls='cmd /c dir'
Or something like that, blah.
----------------------------------------------------------------------------
Kim Scarborough http://www.unknown.nu/kim/
----------------------------------------------------------------------------
"For every complex problem there is a simple solution, and it's wrong."
- H. L. Mencken
----------------------------------------------------------------------------
Now listening to: Can - "Cutaway"
----------------------------------------------------------------------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/