Get computer name to show up on terminal - mac
PS1="[\u@:$(scutil --get ComputerName) \W]\\$ "
Written by Rizwan Iqbal
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#