I have used this script to install imageMagick:

Google: maddox magik-installer - its the first hit

My terminal name is a string of cryptic letters and numbers. See image here:

enter image description here

Keep in mind my computer name in the "Sharing" system preferences is localhost.

Any ideas how to change this?

link|improve this question
feedback

migrated from stackoverflow.com Oct 28 '10 at 22:55

This question came from our site for professional and enthusiast programmers.

3 Answers

That's the hostname of the system as assigned by DHCP. Either set up a different hostname to use and override DHCP, or modiy $PS1.

link|improve this answer
feedback

The imageMagick installation must have altered your .bashrc file. You'll want to edit it to something like export PS1="\u@\h\w$ " - specifically, you're setting the PS1 environment variable.

See http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/ for more explanation and options.

link|improve this answer
feedback

Restarting my computer reset the hostname back to the Shared computer name. Thanks!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown