image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old August 30th, 2009, 05:47 PM
Registered User
 
Join Date: Mar 2008
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
nemac is on a distinguished road
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
Reply With Quote
  #2  
Old August 31st, 2009, 12:06 AM
ElDiabloConCaca's Avatar
Registered User
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 12,678
Thanks: 7
Thanked 388 Times in 370 Posts
ElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of light
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
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 07:33 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.