Skip to content

Instantly share code, notes, and snippets.

@wildcard
Forked from mariuszs/cow.fish
Last active May 19, 2018 12:49
Show Gist options
  • Save wildcard/f122ef99d6555e6e563a51cb31eb8572 to your computer and use it in GitHub Desktop.
Save wildcard/f122ef99d6555e6e563a51cb31eb8572 to your computer and use it in GitHub Desktop.
Fishshell random cowsay
fortune -s | cowsay -f (cowsay -l | tail -n +2 | tr ' ' '\n' | gshuf -n 1)
_______________
/ Universe, n.: \
| |
\ The problem. /
---------------
\ ^___^
\ (ooo)\_______
(___)\ )\/\
||----w |
|| ||
#!/usr/bin/env bash
# Installations for mac
brew install fortune
brew install cowsay
brew install gshuf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment