Maybe I should remove the following bit of code from my profile?
if [ "$SESSION_TYPE" != 'remote/ssh' ]; then
if [ "${TERM_PROGRAM}" != 'tmux' ]; then
( if [ $[RANDOM % 10] == "0" ]; then fortune -n 40 -s; else echo "Hi, $(whoami)!"; fi ) | cowsay | lolcat && printf '\n'
else
if [ "${TMUX_PANE}" == '%0' ]; then
fortune | cowsay -f small | lolcat && printf '\n'
fi
fi
fi
It's a whole chain of interpreters firing up (sub-shells, Perl for the cow, Ruby for the lol, I think.) :D
But what would life be without a little bit of fun?
Comments
Life is too short to waste time on things that don't matter.
Maybe I should remove the following bit of code from my profile?
It's a whole chain of interpreters firing up (sub-shells, Perl for the cow, Ruby for the lol, I think.) :DBut what would life be without a little bit of fun?
That's why you should optimize only the things that matter to you.
"I tell you, we are here on Earth to fart around and don't let anybody tell you any different."
— Kurt Vonnegut