Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
MAMP Pro adding entries to hosts file, changed my Terminal prompt
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MacInWin" data-source="post: 1892302" data-attributes="member: 396914"><p>You can change it: <a href="https://scriptingosx.com/2019/07/moving-to-zsh-06-customizing-the-zsh-prompt/" target="_blank">Moving to zsh, part 6 – Customizing the zsh Prompt</a></p><p></p><p>The zsh shell that Terminal uses can be configured, as the article says. The default name is the username followed by the host name. The host name is what is in the shared name for the local network share. As has been said before, if the router sees a conflict when it assigns the IP through DHCP, the Mac will change the share name to remove the name conflict. That then becomes the Hostname that is shown in the terminal prompt. If it bothers you, change it.</p></blockquote><p></p>
[QUOTE="MacInWin, post: 1892302, member: 396914"] You can change it: [URL="https://scriptingosx.com/2019/07/moving-to-zsh-06-customizing-the-zsh-prompt/"]Moving to zsh, part 6 – Customizing the zsh Prompt[/URL] The zsh shell that Terminal uses can be configured, as the article says. The default name is the username followed by the host name. The host name is what is in the shared name for the local network share. As has been said before, if the router sees a conflict when it assigns the IP through DHCP, the Mac will change the share name to remove the name conflict. That then becomes the Hostname that is shown in the terminal prompt. If it bothers you, change it. [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
MAMP Pro adding entries to hosts file, changed my Terminal prompt
Top