Skip to content

Instantly share code, notes, and snippets.

@qi-qi
Created June 4, 2020 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qi-qi/a667591bf00949832eb9d54dd6ef1c8b to your computer and use it in GitHub Desktop.
Save qi-qi/a667591bf00949832eb9d54dd6ef1c8b to your computer and use it in GitHub Desktop.
export PS1="\u:\w$ "
###
\d – Current date
\t – Current time
\h – Host name
\# – Command number
\u – User name
\W – Current working directory (ie: Desktop/)
\w – Current working directory with full path (ie: /Users/Admin/Desktop/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment