Created
August 13, 2019 00:27
-
-
Save chapmanjacobd/094aa5ad291ed9c05f73d9e8b4e3c5a8 to your computer and use it in GitHub Desktop.
a custom cowsay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fish_greeting | |
cat /proc/loadavg | cut -d' ' -f 2 | |
shuf -n 4 ~/mdrive/notes/(ls -p ~/mdrive/notes/ |grep -v / | shuf -n 1) | cowsay -W 52 -f tux | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it will display 4 random lines from 1 random file in a folder of many text files