logoalt Hacker News

fg137today at 3:22 PM2 repliesview on HN

Life is too short to waste time on things that don't matter.


Replies

binaryturtletoday at 3:47 PM

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?

titzertoday at 3:54 PM

"I tell you, we are here on Earth to fart around and don't let anybody tell you any different."

— Kurt Vonnegut