Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

By default the Mac OSX terminal window will show the prompt using the hostname - which can be anything, assigned from DHCP.

To have it display the name as configured in the Sharing control panel, edit /etc/bashrc and replace PS1 with this:

Code Block
 PS1="[\u@:$(scutil --get ComputerName) \W]\\$ "