Iam using Mac OS X 10.5.2. Strangely, i dont have a .bashrc file on the users home folder. So i set out to create one. This is what i did.
First i created .bashrc by doing 'touch .bashrc'. Then i filled the following contents.
# User @ Host - working dir
#export PS1=”\u@\h\w$ ”
export PS1="\u@\h\w: "
In order to force Terminal.app to load .bashrc at the start: i opened terminal.app and then i opened preferences dialog. navigated to the startup section. Then i selected 'shells open with' under 'command(complete path)'. I gave the path as
/bin/bash –-rcfile /Users/pradeep/.bashrc --> pradeep is my username
Then i opened the new terminal window to check if it took effect, but there was no change.
am i doing something wrong ?
Best,
Pkri
First i created .bashrc by doing 'touch .bashrc'. Then i filled the following contents.
# User @ Host - working dir
#export PS1=”\u@\h\w$ ”
export PS1="\u@\h\w: "
In order to force Terminal.app to load .bashrc at the start: i opened terminal.app and then i opened preferences dialog. navigated to the startup section. Then i selected 'shells open with' under 'command(complete path)'. I gave the path as
/bin/bash –-rcfile /Users/pradeep/.bashrc --> pradeep is my username
Then i opened the new terminal window to check if it took effect, but there was no change.
am i doing something wrong ?
Best,
Pkri