Skip to content

Instantly share code, notes, and snippets.

@MarkZhangTW
Last active August 20, 2021 09:39
Show Gist options
  • Save MarkZhangTW/ecf7e42b1414fca3b041d43f45b4c4de to your computer and use it in GitHub Desktop.
Save MarkZhangTW/ecf7e42b1414fca3b041d43f45b4c4de to your computer and use it in GitHub Desktop.
Hide username & hostname in shell.
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