Last active
August 20, 2021 09:39
-
-
Save MarkZhangTW/ecf7e42b1414fca3b041d43f45b4c4de to your computer and use it in GitHub Desktop.
Hide username & hostname in shell.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1="\[\e]0;\w\a\]\[\e[32m\]Administrator@localhost \[\e[33m\]\w\[\e[0m\]\$ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment