Skip to content

Instantly share code, notes, and snippets.

@chapmanjacobd
Created August 13, 2019 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chapmanjacobd/094aa5ad291ed9c05f73d9e8b4e3c5a8 to your computer and use it in GitHub Desktop.
Save chapmanjacobd/094aa5ad291ed9c05f73d9e8b4e3c5a8 to your computer and use it in GitHub Desktop.
a custom cowsay
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
@chapmanjacobd
Copy link
Author

it will display 4 random lines from 1 random file in a folder of many text files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment