Created
May 15, 2014 13:57
-
-
Save davialexandre/e6bebdab22546aad1692 to your computer and use it in GitHub Desktop.
Bash prompt with divider line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1='$(printf '%.0s-' $(seq 1 $COLUMNS))\n\[\e[0;32m\]\u@\h:\[\e[m\]\[\e[36;40m\]\w\[\e[m\]\[\e[1;32m\]\$\[\e[m\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment