A collection of additional/alternative cowsay files.
These files are intended to supplement the cow files in /usr/share/cowsay/cows.
echo Exterminate! | cowsay -f dalek
For more on cowsay, consult its Wikipedia article.
A sample of each cow file in this repository is here. Note that the ANSI cows like bender.cow will only render properly if your terminal client supports color. True color (those under the true-color/
subdirectory) cows will only render in terminals that support full 24-bit color.
To install Cowsay-files, clone the repo or download the distribution tarball. Then run:
make install
Or to install it to a custom location:
make install prefix=/path/to/your/custom/installation/location
Mac users can alternatively use the Homebrew tap from cowsay-org/homebrew-cowsay:
brew install cowsay-org/cowsay/cowsay-apj
Or:
brew tap cowsay-org/cowsay
brew install cowsay-apj
This file allows you to configure a list of cows to randomly display when opening a new terminal session.
Can be made use of by adding the following line to your .bashrc
file (or .zshrc
if you use ZSH):
. /usr/local/share/cowsay-files/cowrc.sh
Now you will have some commands available and get a random cow fortune on every new terminal session :)
If you want to have random cows everytime that you login or open a shell, add this to your .bashrc
.
COWS=(/usr/local/share/cowsay-files/cows/*)
RAND_COW=$(($RANDOM % $( ls /usr/local/cowsay-files/cows/*.cow | wc -l )))
cowsay -f ${COWS[$RAND_COW]} "ALL YOUR BASE ARE BELONG TO US"
If you installed Cowsay-files to an alternate location, replace /usr/local
with the path to your custom prefix in the above instructions.
If you want to run Cowsay-files directly from the cloned repo, replace /usr/local/share
with the path to your cloned cowsay-files
Git repo in the above instructions.
Fancy pixel art cows can now be created with ease using Charc0al's cowsay file converter
Instructions:
Tips for creating pixel art cows:
cowsay-palette
command (if you are making use of cowrc.sh) to get a display of your terminal color palette and the corresponding color codes.Try converting some of the examples!