Skip to content

Instantly share code, notes, and snippets.

@cbrocas
Created November 6, 2014 18:59
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 cbrocas/8a954562aa104942a376 to your computer and use it in GitHub Desktop.
Save cbrocas/8a954562aa104942a376 to your computer and use it in GitHub Desktop.
My PS1 values
server : PS1="\[\e[00;37m\][\[\e[0m\]\[\e[00;32m\]\u\[\e[0m\]\[\e[00;37m\]@\[\e[0m\]\[\e[ 00;31m\]\H\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[00;36m\]\w\[\e[0m\]\[\e[00;37m\]] \[\e[0m\]"
local : PS1="\[\e[00;37m\][\[\e[0m\]\[\e[00;32m\]\u\[\e[0m\]\[\e[00;37m\]@\[\e[0m\]\[\e[ 00;33m\]\H\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[00;36m\]\w\[\e[0m\]\[\e[00;37m\]] \[\e[0m\]"
@cbrocas
Copy link
Author

cbrocas commented Nov 6, 2014

  • put in /etc/bash.bashrc
  • source it to activate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment