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

for bash | 7 comments | Create New Account
Click here to return to the 'for bash' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
for bash
Authored by: huzzam on Aug 01, '05 06:19:43PM

In bash, I wrap most of my .bashrc in

if [ -n "${PS1}" ]; then

[stuff for interactive shells here...]

Anything I DO want to apply across the board can go outside of the if/fi construct, like umask & some environment variables.

[ Reply to This | # ]