Last active
January 2, 2024 17:33
-
-
Save caseysoftware/ed34c6a09fb32885511627bc5c314898 to your computer and use it in GitHub Desktop.
Monkey prompt
This file contains hidden or 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
# This is to get my awesome monkey prompt. | |
umask 002 | |
#PS1='[\h]$ ' | |
export PS1="\w \`if [ \$? = 0 ]; then echo -e '\[\e[01;32m\]\n\xF0\x9F\x90\xB5 '; else echo -e '\[\e[01;31m\]\n\xF0\x9F\x90\xB5 '; fi\` \[\e[01;34m\]\[\e[00m\]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment