Skip to content

Instantly share code, notes, and snippets.

@loisaidasam loisaidasam/fix.txt
Created Jul 16, 2018

What would you like to do?
Bash $PS1 dynamic hostname fix
# Question:
# Answer:
:) Michaels-iPhone:~$ scutil --get HostName
HostName: not set
:( 1 Michaels-iPhone:~$ sudo scutil --set HostName 'chewbacca'
:) Michaels-iPhone:~$ scutil --get HostName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.