Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > echo $SHELL always reports /bin/tcsh

echo $SHELL always reports /bin/tcsh
Thread Tools
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Dec 18, 2003, 12:46 PM
 
Even if I change Terminal prefs or type in bash explicitly, echo $SHELL reports back '/bin/tcsh'.

If I type in bash to change shells, the prompt changes to having brackets around my host name as bash defaults to doing, but when I check the shell type with echo $SHELL it still reports /bin/tcsh.

Any ideas?

kman
     
Junior Member
Join Date: Nov 2003
Status: Offline
Reply With Quote
Dec 18, 2003, 01:45 PM
 
methinks $SHELL is read from the user info, like $HOME.

e.g. $SHELL remains unchanged on my Linux box when I run 'tcsh' on top of the login bash.

So you can change your shell pref. in Netinfo if you want, or you could use ps perhaps to work out what shell is running...

Are you just curious or is there something you want to work that isn't?
     
kman42  (op)
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Dec 18, 2003, 03:10 PM
 
I've been trying to install pan via fink (which I'm also installing fresh) and have been having some trouble. On the second attempt, I read the fink directions more carefully re: X11 configuration and so I did the echo $SHELL. It confused me when it returned tcsh when I was running bash.

I have noticed that fink doesn't work in a bash shell, but works okay in a tcsh shell. I think I have just screwed up my prefs file somewhere and should probably get it fixed sooner rather than later to avoid more confusion later.

kman
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:21 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2