Skip to content

Instantly share code, notes, and snippets.

@davialexandre
Created May 15, 2014 13:57
Show Gist options
  • Save davialexandre/e6bebdab22546aad1692 to your computer and use it in GitHub Desktop.
Save davialexandre/e6bebdab22546aad1692 to your computer and use it in GitHub Desktop.
Bash prompt with divider line
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