Há um ótimo artigo sobre como personalizar o prompt do Terminal em OSX Diário . Não sei exatamente por que o seu mudou, mas personalizá-lo fará com que você volte ao normal ... ou algo diferente se você gostar:)
Citarei alguns dos artigos abaixo:
The default command line prompt in Mac OS X is something like:
ComputerName:CurrentDirectory User$ or MacBook:~/Desktop Admin$
Kind of boring and not the best, right? It’s quite easy to change.
We’re going to assume you use the default bash shell, so you’ll be
editing either the file .bashrc
by default, or .profile
if you
installed fink. At the Terminal prompt, type: nano .bashrc
Now type: export PS1=" "
Between the quotation marks, you can add the following lines to
customize your Terminal prompt:
\d – Current date
\t – Current time
\h – Host name
\# – Command number
\u – User name
-
\W – Current working directory
(ie: Desktop/)
-
\w – Current working directory
, full path (ie: /Users/Admin/Desktop)
So,
let’s say you want your Terminal prompt to display the User, followed
by the hostname, followed by the directory, the .bashrc entry would
be:
export PS1="\u@\h\w$ "
which will look like: Admin@MacBook~Desktop/$ "