I just bought new macbook pro, and opened up my terminal .
it shows:
(base) Jiui-MacBookPro:~ myname$ I want to change that "Jiui" part that is located in front of -MacBookPro.
How can I do that? I know how to change that "myname" part but don't know in front of that macbookpro.
Please save me :(
sudo scutil --set HostName JHP-MacBookPro
would change the prompt toJHP-MacBookPro: ~ myname$
. Note that you will be asked to type your password when you run the command.