Skip to content

Instantly share code, notes, and snippets.

@PoOwAa
Last active October 2, 2020 11:51
Show Gist options
  • Save PoOwAa/4da7d77375232a15c4914d45d19c44f3 to your computer and use it in GitHub Desktop.
Save PoOwAa/4da7d77375232a15c4914d45d19c44f3 to your computer and use it in GitHub Desktop.
My DeadPool Bash Profile
HOST_NAME=AndyRum
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
txtred='\e[0;31m' # Red
txtgrn='\e[0;32m' # Green
bldgrn='\e[1;32m' # Bold Green
bldpur='\e[1;35m' # Bold Purple
txtrst='\e[0m' # Text Reset
emojis=("👾" "🌐" "🎲" "🌍" "🐉" "🌵")
EMOJI=${emojis[$RANDOM % ${#emojis[@]} ]}
print_before_the_prompt () {
dir=$PWD
home=$HOME
dir=${dir/"$HOME"/"~"}
printf "\n $txtred%s: $bldpur%s $txtgrn%s\n$txtrst" "$HOST_NAME" "$dir" "$(vcprompt)"
}
PROMPT_COMMAND=print_before_the_prompt
PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
PS1="$EMOJI >"
dpquotes=("Bad Deadpool... Good Deadpool!" "Whose kitty litter did I just shit in?" "Say the magic words, Fat Gandalf." "Happy Lent." "All the dinosaurs feared the T-Rex." "I want to die a natural death at the age of 102 - like the city of Detroit." "Please don't make the super suit green... or animated!" "You have something in your teeth." "He got Ajax from the dish soap!" "Captain Deadpool! No, just Deadpool." "I bet it feels huge in this hand." "Listen Ray, if I never see you again, I want you to know that I love you very much. I also buried 1,600 kilos of cocaine somewhere in the apartment -- right next to the cure for blindness. Good luck." "Superhero landing! She's going to do a superhero landing!" "Chimichangas" "Never underestimate the stupidity of idiots." "If you can read this, you're too close." "Ew, people")
RANDOM=$$$(date +%s)
quote=${dpquotes[$RANDOM % ${#dpquotes[@]}]}
cowsay -f deadpool $quote
$the_cow = <<"EOC";
$thoughts
$thoughts
XXXXXXXXXX
XXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXX
XXXX XXXX XXXX
XXXX XXXX XXXX
XXXX XXXX XXXX
XXXX XXXX XXXX
XXX XXXX XXX
XXXX *** XXXX *** XXXX
XXX ******* XXXX ******* XXX
XXXX ****** XXXX ****** XXXX
XXXX *** XXXX **** XXXX
XXX XXXX XXX
XXXX XXXX XXXX
XXXXX XXXX XXXXX
XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXX
EOC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment