I am guessing that your hostname is "localhost".
I think you should be able to run:
and find out if it is.
Assuming it is, and that it is a shell prompt (bash even), you can change the hostname for your computer, or just change the prompt.
For changing the hostname, I don't remember this that well, but you can try one or more of:
maybe change the contents of /etc/hostname, or see
this.
For changing the bash prompt, please see
this article.