Skip to content

Instantly share code, notes, and snippets.

@iani
Created April 20, 2011 13:40
Show Gist options
  • Save iani/931351 to your computer and use it in GitHub Desktop.
Save iani/931351 to your computer and use it in GitHub Desktop.
setting the prompt variable for bash terminal in MacOS X
# Custom prompt for shell:
PS1="\[\033[0;36m\][\$(date +%H%M)][\u:\W]$\[\033[0;32m\] "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment