Last active
November 11, 2016 17:00
-
-
Save charterchap/656737ecb05f3f6fae5d to your computer and use it in GitHub Desktop.
ascii art for my ps1 prompt
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
# I find it useful to have return codes printed on my terminal prompt | |
# I went overboard | |
### On success print fun art! | |
# |\/| /\ / | |
# .__.. \_/ \/ | |
# \____/_ __/ | |
# /_/_/ ~/Documents | |
### on fail | |
# :( ~/Documents | |
# Put this in .bashrc | |
# It will give pretty art on exit status 0 and a :( on non-zero | |
SIZE=`wc -l /home/$USER/.onelineart |cut -d' ' -f 1` | |
export PS1="\`if [ \$? = 0 ]; then { echo -e \"\\\`sed -n \"\$((\$RANDOM % \$SIZE + 1 ))p\" /home/$USER/.onelineart\\\`\"; } else echo \e[36\;40m\\\:\\(\e[0m; fi\` \[\e[31;1m\]\w\[\e[0m\]\n\[\e[36;1m\]\[\e[32;1m\]\u@\h\[\e[0m\]:\!:\$ " | |
### ascii artwork | |
# Put this content in /home/$USER/.onelineart | |
________ \n ||. . ||\n || ‿ ||\n _|_|_| _| _| _|_| || ||\n _| _| _|_| _|_| _| _| /||--------||\\\n _|_|_| _| _| _| _| _| ||=== . ||\n _| _| _| _| _| _| || + o 0||\n _|_|_| _| _| _|_| ||________||\n | |
________ \n ||. . ||\n || ‿ ||\n _|_|_| _| _| _|_| || ||\n _| _| _|_| _|_| _| _| /||--------||\\\n _|_|_| _| _| _| _| _| ||=== . ||\n _| _| _| _| _| _| || + o 0||\n _|_|_| _| _| _|_| ||________||\n\ | |
__ _ \n .-.' `; `-._ __ _ \n (_, .-:' `; `-._ \n ,'o"( (_, ) \n (__,-' ,'o"( )>\n ( (__,-' ) \n `-'._.--._( ) \n ||| |||`-'._.--._.-' \n ||| ||| \n | |
|\/| /\ /\n .__.. \_/ \/\n \____/_ __/ \n /_/_/ | |
_\n /_)\n\033[33m(\033[0m8_\033[34m)\033[0m\033[33m)\033[0m}- .\n \_) '.\n .--. .\n : '. .'\n '---'`; | |
\033[31m ___\n G=== / '. { Exterminate! }\n |======|\n |======|\n )---/]||||||]\n |________|\n C O O OD\n CO O OD\n C O O OD\n [_____________]\033[0m | |
\033[31m-*ღ*-\033[0m | |
\033[31m-^^,--,~\033[0m | |
\033[31m-_-_-_-_-_-_-_\033[0m\033[35m,------,\033[0m \n\033[33m_-_-_-_-_-_-_-\033[0m\033[35m|---\033[0m/\_/\ \n\033[32m-_-_-_-_-_-_-\033[0m~\033[35m|__\033[0m( ^ .^) \n\033[35m_-_-_-_-_-_-_-\033[0m "" "" \n | |
\033[31m=^..^=\033[0m | |
\033[31m|)_.._(| /___\n(o^_^o) Z__7\n("____")Z7\n " "\033[0m | |
\033[31m❤❤❤❤❤ \033[0m | |
\033[33m _.._ _ \n ."\__/"./`_\\\n _/__<__>__\/\n`"/_/""""\_\\\033[0m | |
\033[33m^_^\033[0m | |
\033[34m ) (\_ \n(( _/{ \033[0m\033[33m"\033[0m\033[34m-;\n )).-' {{ ;'` \n( ( ;._ \\ \033[0m\n | |
\033[34m _ _\n(q\_/p)\n /. .\.-"""""-. ___,\n=\_t_/= / `\ (\n )\ ))__ __\ |___)\n (/-(/` `nn---'\033[0m | |
\033[34m❋❋❋❋❋ \033[0m | |
\033[34m✽✾✿❀❁❃❋ \033[0m | |
\033[34mƸ̵̡Ӝ̵̨̄Ʒ\033[0m | |
\033[35m=^..^=\033[0m | |
\033[37m☁☁☁☁ \033[0m | |
\033[92m:-) \033[0m | |
\033[92m✿✿✿ \033[0m | |
\033[95m❃❃❃ \033[0m | |
| (• ◡•)| \033[31m(❍ᴥ❍ʋ)\033[0m | |
\033[38;5;88m(\/) (•,,,•) (\/)\033[0m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment