Tuesday, June 17, 2008
OS X Terminal Fun with Fortune
I have known about Fortune for several years now, and I randomly thought about it today. I wondered, could I have fortune give me a fortune each time I open a new terminal window. After a little digging and worrying about it being complicated, I simply tried to just place the path of fortune into my .profile. Voila! Now, every time I open Terminal, I am greeted with a neat little fortune.
In order to do this, you'll need macports installed.
If you already have them installed, simply install fortune:
Then, edit your ~/.profile
Add the path to fortune at the end of the file:
I love it! :)
In order to do this, you'll need macports installed.
If you already have them installed, simply install fortune:
sudo port install fortune
Then, edit your ~/.profile
mate ~/.profile
Add the path to fortune at the end of the file:
/opt/local/bin/fortune
I love it! :)
Labels: geek
Subscribe to Posts [Atom]