|
#1
| |||
| |||
| set profile for terminal session
Hello, I would like to set a profile when I open a "Terminal" session so as to have some aliases available to me. For now, I have been typing in the commands when I open the terminal session but I know that there is a way to have them available as soon as the terminal session is opened. TIA Javier |
|
#2
| ||||
| ||||
|
It depends on what shell you're using. If you're using bash, then you need to edit ~/.profile and add "alias" commands to the file. Mac OS X defaults to the bash shell so this should be the default, unless you've manually changed it. If you're using csh or tcsh, then you need to edit .tcshrc (or the pertinent shell file) and add your "alias" commands there.
__________________ Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 18Mb/2Mb http://www.jeffhoppe.com |
![]() |
| Bookmarks |
| Thread Tools | |
|
|