Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Note for Bash users!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Note for Bash users!
Authored by: raider on Sep 09, '04 06:36:15PM
After struggling to get this to work in the default 10.3 setup (bash) - I found that Terminal is not using .bashrc

If your .bashrc appears to be ignored - try putting this in your .bash_profile file:

if [ -f ~/.bashrc ]; then . ~/.bashrc; fi

Your mileage may vary. Use at your own risk.

[ Reply to This | # ]
Note for Bash users!
Authored by: blgrace on Dec 22, '04 07:06:43PM
I couldn't get any perl scripts to execute from my .bashrc until I added this line: perl rc.pl instead of the ? standard . ~/rc.pl Does this mean that perl is not in my path?

[ Reply to This | # ]
Note for Bash users!
Authored by: blgrace on Dec 28, '04 02:02:41AM

Hmmm . . . the answer for me turned out to be this.
put the full path to the perl script in the .bashrc file

~/bin/rc.pl

and it works fine



[ Reply to This | # ]