3

just some time ago i installed the OS X Server app on my mac and since this day it always appears server as the chosen directory in my terminal.

But because i dont really like the Server application i just removed it but the server in my terminal is still left. So i wonder now how i can get the default back like users/...

I am running mountain lion on my mac.

I am a real newby to both mac and usage of terminal but i need it know for some work and i just get errors every time i am trying to enter something.

3 Answers3

7

Goto your HomeFolder -> Library -> Preferences and delete the file : com.apple.terminal.plist

That should reset the settings on your Terminal

Jash Jacob
  • 4,443
  • 10
  • 36
  • 64
2

Since you have mentioned that running pwd shows a path not mentioning server, I believe you are mistaking server for being the directory when it is actually the hostname.

OS X Server will change your hostname (by default) to server.<name>.private, so Terminal will show server:~ username$ (in Bash with the default prompt).

To change the hostname, you can use the following command:

sudo scutil --set HostName yourhostname

Replace yourhostname with your preferred hostname

grg
  • 201,078
0

System terminal:

defaults delete com.apple.Terminal

iTerm2:

defaults delete com.googlecode.iterm2