Unable to Run Alternate Shell in Mac OS X

In an effort to learn more about using the command line on my MacBook, I downloaded and installed the "friendly interactive shell", also know as fish (http://fishshell.com/).

I followed the instructions in the following link:
http://hints.macworld.com/article.php?story=20091102085612743

The last step in the above link is:
"Make fish the default shell. Append opt/local/bin/fish to the /etc/shells file. Then open the Accounts System Preferences panel, unlock it, Control-click on your account picture and select Advanced Options. Set the Login Shell to opt/local/bin/fish."

However, it's not working. When I try to run Terminal, I'm getting the following error message:
"You are not authorized to run this application. The administrator has set your shell to an illegal value."

How can I fix this?
anuneznycAsked:
Who is Participating?
 
larsrohrConnect With a Mentor Commented:
Contrary to the given directions, make sure you start the path to fish with "/", i.e.:
  /opt/local/bin/fish

It should be this way in /etc/shells, and where you've set it as your default shell.
0
 
anuneznycAuthor Commented:
Wow. So obvious! And yet I totally failed to start the path with a "/".

Thank you very much!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.