- Notifications
You must be signed in to change notification settings - Fork0
A collection of baduk fortunes for the terminal
License
gsobell/baduk-fortune
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
____________ < Go is hard > ------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | -Cho U, 9d || ||
A collection ofbaduk fortunes for the terminal
Installfortune orfortune-mod (or evenmisfortune).
fortune
is a command line program that displays a quote or proverb when run. It is available on most operating systems:
# Archsudo pacman -S fortune-mod# Debian/Ubuntu (WSL)sudo apt install fortune-mod# openBSDdoas pkg_add fortune# nix-shellnix-shell -p fortune# Macbrew install fortune
Save the list of fortunes and the corresponding.dat
file to/usr/share/fortune/
by running the following:
curl -LO https://github.com/gsobell/baduk-fortune/raw/shodan-branch/badukcurl -LO https://github.com/gsobell/baduk-fortune/raw/shodan-branch/baduk.datsudo mv baduk baduk.dat /usr/share/fortune
To install on Arch-based distros, use thePKGBUILD:
curl -O https://raw.githubusercontent.com/gsobell/baduk-fortune/shodan-branch/PKGBUILDmakepkg -i
To recieve a fortune, open a terminal, and run:
fortune baduk
For a new fortune every time you log on, add the above to your shell config (i.e..bashrc
or.zshrc
)For extra fun, use in conduction withcowsay
orcowfortune
!
Q: Why isn't it called go-fortune?
A: Because italready exists, it's a fortune rewrite in GoLang.
Q: My favorite quote is missing. Can you add it?
A: Sure! Open a pull request! Since a new.dat
file has to be generated each time, additions will be added in batches.
Fortunes sourced from:
Sensei's "Great Quotes" -Sensei's "Old Mottos" -Sensei's "Humour Q&A" -Sensei's "Almost Proverbs" -Kiseido Quotes -Wikiquote Go
List was scrubbed for uniformity, brevity, and duplicates.Any "rude" or "crude" items from the above lists were excluded, please open an issue if you find one.
About
A collection of baduk fortunes for the terminal