Skip to content

Instantly share code, notes, and snippets.

@abrari
Created January 12, 2015 09:03
Show Gist options
  • Save abrari/c337b6d8fce92332d07e to your computer and use it in GitHub Desktop.
Save abrari/c337b6d8fce92332d07e to your computer and use it in GitHub Desktop.
Terminal Prompt with Horizontal Line
sleep 1
PS1="\[\e[1;33m\]┌$(eval printf %.0s─ '{2..'"${COLUMNS:-$(tput cols)}"\}; echo)\n├─ \u@\h \w\n└─ \[\e[1;36m\][\@ \d] \$\[\e[m\] "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment