|
|
10.3: Colored output from 'ls' (revisited)
I prefer the "old" way of getting color in the terminal. The gnu ls that the fileutils package from fink installs has, IMHO, a better way of specifying colors. The gnu version lets you set colors for most (if not all) of the things panther's ls does, but with gnu ls you can also set different colors for files ending in different extensions. For example,
This is great for easily distinguishing source files, header files, etc.
To answer a post above regarding .alias and .cshrc and .bashrc files... its really a personal preference thing. I have all my aliases in a .alias file. If you do that, you must include a line in the .cshrc file such as:
The .cshrc (or .bashrc for bash) file is what is sourced when the shell is executed, so to get the effects of the .alias file, you must explicitly source it. You can certainly put your aliases in .cshrc (or .bashrc), but this just keeps things modular and makes it easier to work with.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|