Saturday, July 04, 2009

Mac terminal

I recently got my new Macbook Pro and have become a mac fan. The interface and the hardware are just amazing. Switching from windows and linux which I used for more than 12 years.
I am currently setting up my mac and installing lots of software. Here is the list of software that I have installed so far:
1. Xcode: A must for any non-dumb user.
2. Gimp: Took a lot of time
3. Gnuplot
4. Tetex: For paper writing stuff
5. Picasa: Can't escape the familiarity with this cool software.
6. VLC media player: For all those .wma files
7. Skype
8. Gvim: My favorite text editing app

I have this problem with the mac terminal that it would not load .bashrc at the startup. I would have to manually type 'source ~/.bashrc'. I found the solution to this problem today.
Basically, Mac OS uses bashrc from /etc/profile. So it has to be told to also include things
from ~/.bashrc. For this, the command did the job:
[ -r $HOME/.bashrc ] && source $HOME/.bashrc
I found this info on:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home