This is a workalike of the popular cowsay amusement program that runs directly in Emacs and does not require any external programs.
This port is not written by the original author of cowsay
, but
can load cartoon characters from the same files as the original and you can add custom cows (see link to repo with a lot of .cow
files)!
Here Commands, before run use cowsay-load-cows
for load cows, this is required, if you hasn't cows, then clone anything repo with cows, and add source's path to cowsay-directories
: (example), this is required:
cowsay-string
read string from minibuffer and in new buffer seecowsay
result with user's stringcowsay-region
read region, and with this region viewcowsay
result in new buffercowsay-replace-region
read region and replace its withcowsay
result
Here all variables, which you can change:
cowsay-directories
is list of directories in which put.cow
files, defaults to "/usr/local/share/cows" and "/usr/share/cowsay/cows"cowsay-preferred-cows
is list of names of cows, yea cows has namescowsay-eyes
is 2-character string to use as the cow's eyes. Example of customization:
(setq cowsay-eyes "..")
cowsay-tongue
is 2-character string to use as the cow's tongue Example of customization:
(setq cowsay-eyes "|]")