Skip to content

Instantly share code, notes, and snippets.

@xuhdev
Created February 24, 2012 10:06
Show Gist options
  • Save xuhdev/1899907 to your computer and use it in GitHub Desktop.
Save xuhdev/1899907 to your computer and use it in GitHub Desktop.
Default bash prompt
export PS1='${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment