Fortune
@williamfligor on GitHub for the fortunes!
Credit toDifferences:
- A CLI interface
- Easy to add custom fortunes
To use:
npm install -g github:hub-sp/fortune
OR
npm install -g @yaas/fortune
## In your ~/.bashrc
alias fortune='node-fortune'
Then you can run it!
fortune
Adding custom fortunes!
Go to the folder fortune
is installed and then navigate to the fortunes
folder. From here you can add a file with each fortune seperated by a line return and %
sign
A custom fortune!
%
Another custom fortune!