Skip to content

Instantly share code, notes, and snippets.

View yabberyabber's full-sized avatar
🐐

Andrew Nelson yabberyabber

🐐
  • Arista Networks
  • San Luis Obispo, California
  • 01:21 (UTC -07:00)
View GitHub Profile
@yabberyabber
yabberyabber / .bashrc
Last active July 15, 2016 18:12 — forked from anonymous/.bashrc
if [ -z "$WP" ]; then
# $WP is empty... you are not in a chroot workspace
export PS1="\[\033[0;31m\]"$PS1"\[\033[0m\]"
else
# $WP contains the name of the project you're currently in
export PS1="\[\033[0;37m\]"$WP": "$PS1"\[\033[0m\]"
fi