diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-08 01:17:29 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-08 01:17:29 +0530 |
commit | 2450e47882750f1a46911f99503a068df84c2181 (patch) | |
tree | d06249a30dc412553fc212ca1a85c2a3814cffe0 /Scripts/.local | |
parent | 907068b34d7d65d7f30abe30f34c870d1b27e66b (diff) | |
download | dotfiles-2450e47882750f1a46911f99503a068df84c2181.tar.gz dotfiles-2450e47882750f1a46911f99503a068df84c2181.tar.bz2 dotfiles-2450e47882750f1a46911f99503a068df84c2181.zip |
(Scripts|Emacs/app)~ported eshell banner to a script
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.
Diffstat (limited to 'Scripts/.local')
-rwxr-xr-x | Scripts/.local/scripts/cowfortune | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/cowfortune b/Scripts/.local/scripts/cowfortune new file mode 100755 index 0000000..d78a950 --- /dev/null +++ b/Scripts/.local/scripts/cowfortune @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +cow=$(echo -e "default\ncower\nmoofasa\nmoose\nmutilated\nsatanic\nsheep\nsmall\ntux\nvader" | shuf | head -1) + +fortune | cowsay -f $cow |