Skip to content

Instantly share code, notes, and snippets.

@markito
Created January 11, 2012 12:27
Show Gist options
  • Save markito/1594438 to your computer and use it in GitHub Desktop.
Save markito/1594438 to your computer and use it in GitHub Desktop.
Bash prompt
PS1="\n\[\e[32;1m\](\[\e[37;1m\]\w\[\e[32;1m\])-(\[\e[37;1m\]\$(/bin/ls -1 | /usr/bin/wc -l | /bin/sed 's: ::g') files\[\e[32;1m\])->\n\[\e[32;1m\](\[\e[37;1m\]\u\[\e[32;1m\]@\[\e[37;1m\]\h\[\e[32;1m\])\$ \[\e[0m\]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment