OSX Terminal Fun: Preface
I've been asked about 5 times this week how I got color in my terminal, as well as my nifty shell prompt... it isn't that big of a deal, you just have to create a custom rc.mine, an aliases.mine and replacing Apple's "ls" with one that supports color. The last is probably the most difficult for those who aren't used to Linux/Bsd/Solaris/OSX.
All this will work fairly easily, with the prerequisite that you're on 10.2 and have the Developer Tools installed which will give you GCC (a cross-platform compiler) and other goodies. You don't need GCC if you will just be customizing your shell prompt or creating aliases, but it's good to have anyways.
This also assumes you are using the OSX/freeBSD default shell, tcsh. If you are using bash, specifics will differ. Bash is generally what you want to use for scripts, but most people will use the default tcsh.
So, to clarify, you need:
- To be using the default shell, tcsh
- Be using Mac OS 10.2
- Have the Apple Developers Tools installed, which comes with OSX on a seperate CD
For future reference, when you see the "%" sign, that stands for the tcsh prompt... don't actually type it.

Posted by drunkenbatman





