Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Install better ls, du, and df tools in 10.3' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Install better ls, du, and df tools in 10.3
Authored by: timhaigh on Apr 13, '04 12:41:07PM

I don't believe such a unix savvy hint claims the standard ls in 10.3 does not come with color.

The first thing I liked about the terminal in panther was I did not have to install any extra file utils in panther as the panther 'ls' does come with colours. I just aliased ls -G to ls.

I just added my usual aliases to my ~/.profile

#Aliases
alias ll='ls -la'
alias ls='ls -G' # this gives you color ls '
alias mv='mv -i'
alias rm='rm -i'
alias cp='cp -i'



[ Reply to This | # ]
Install better ls, du, and df tools in 10.3
Authored by: astack on Apr 13, '04 08:03:57PM

aliasing something to a system command is a no-no. If you're using tcsh, instead set a line in your .cshrc to say "setenv CLICOLOR". This informs ls to use color by default.

Cheers!



[ Reply to This | # ]