tarotfish is a very, very simple Fish script that allows you to draw a card from the standard Terot de Marseilles deck.
You can just run the script from wherever you run it. You may need to chmod +x the script, and the shebang line (the first line) may need to change.
- Delete the first line of the file
- In fish, type func tarot
- Paste the contents of the file
- Create a new line (hit enter)
- type end
- hit enter
- type funcsave tarot
- restart fish
Now, anytime you want to draw a card, just type tarot.