Right now I have a Mac Mini. I migrated macbook pro data from a time machine, but I didn't do it from the beginning of my startup. I used the migration assistance to migrate the data. However, I'm getting my macbook pro name in my terminal command line, why is that?
Name-Macbook-Pro:~ name$
Why am i getting this? I'm on my Mac Mini, I guess its from the migration but will it affect anything else? How do I change this?

HostName(despite whatman hostnamesays!), given that its value is then out of sync with theLocalHostNamevalue set via System Preferences. Conversely,LocalHostNameis also recognized byhostname. To put it another way: if you want to change the hostname from a shell, use BOTHsudo scutil --set LocalHostName newNameandsudo scutil --set ComputerName newName, where theComputerNamevalue can be a friendlier version (spaces, punctuation) of theLocalHostNamevalue (alphanumerics and dashes only). – mklement0 May 05 '14 at 04:28HostNameentry, set its value to an empty string (this effectively removes the key from the.plistfile):sudo scutil --set HostName ''. – mklement0 May 05 '14 at 04:31