Skip to content

Instantly share code, notes, and snippets.

@telekineticyeti
Created June 5, 2013 14:57
Show Gist options
  • Select an option

  • Save telekineticyeti/5714507 to your computer and use it in GitHub Desktop.

Select an option

Save telekineticyeti/5714507 to your computer and use it in GitHub Desktop.
My bash prompt
export PS1="\[\e[30;1m\][\[\e[36;1m\]\u@\h\[\e[30;1m\]]-[\[\[\e[33;1m\]\w\[\e[30;1m\]]-[\[\e[31;1m\]\$(/bin/ls -1 | /usr/bin/wc -l | /bin/sed 's: ::g') items, \$(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed 's/total //')b\[\e[30;1m\]]-{\[\e[37;1m\]\j\[\e[30;1m\]}-[\[\e[37;1m\]\@\[\e[30;1m\]]\n\[\e[0m\]\$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment