Instead of doing it all in Emacs lisp (which while pretty fun to write, is not fun to execute outside of Emacs), I wrote a shell script which generates the same banners, then just linked +eshell/banner-message to it.
6 lines
156 B
Bash
Executable File
6 lines
156 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
cow=$(echo -e "default\ncower\nmoofasa\nmoose\nmutilated\nsatanic\nsheep\nsmall\ntux\nvader" | shuf | head -1)
|
|
|
|
fortune | cowsay -f $cow
|