Skip to content

Instantly share code, notes, and snippets.

@garbados
Last active July 22, 2017 04:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garbados/45085196020050b353396229258a4d58 to your computer and use it in GitHub Desktop.
Save garbados/45085196020050b353396229258a4d58 to your computer and use it in GitHub Desktop.
A cowfile for putting a ghost in your shell 👻
$ cd ~
$ mkdir cows
$ curl https://gist.githubusercontent.com/garbados/45085196020050b353396229258a4d58/raw/5c074f48cb4df1b33b3f1c0227fffc4eb05d1c2b/ghost.cow cows/ghost.cow
$ echo 'COWPATH=/usr/share/cowsay/cows:/home/$USER/cows' >> .bashrc
$ source .bashrc
$ alias ghostsay="cowsay -f ghost"
$ ghostsay 'in the shell'
______________
< in the shell >
--------------
\ .-.
\ .' `.
\ :g g :
\: o `.
: ``.
: `.
: : . `.
: : ` . `.
`.. : `. ``;
`:; `:'
: `.
`. `. .
`'`'`'`---..,___`;.-'
# art by Joan G. Stark, https://en.wikipedia.org/wiki/Joan_Stark
$the_cow = <<"EOC";
$thoughts .-.
$thoughts .' `.
$thoughts :g g :
$thoughts: o `.
: ``.
: `.
: : . `.
: : ` . `.
`.. : `. ``;
`:; `:'
: `.
`. `. .
`'`'`'`---..,___`;.-'
EOC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment