Created
April 8, 2019 18:12
-
-
Save dkatz23238/585a030e3102eff9992c8739afdd439c to your computer and use it in GitHub Desktop.
Another cool ps1
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="[\`if [ \$? = 0 ]; then echo \[\e[32m\]✔\[\e[0m\]; else echo \[\e[31m\]✘\[\e[0m\]; fi\`]──[\[\e[01;49;39m\]\[\033[38;5;13m\]\u\[$(tput sgr0)\]@\[\033[38;5;10m\]\H\[$(tput sgr0)\]]───[\[\e[1;49;34m\]\W\[\e[0m\]]──[\[\e[1;49;39m\]\$(ls | wc -l) files, \$(ls -lah | grep -m 1 total | sed 's/total //')\[\e[0m\]]\n " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment