Skip to content

Commit

Permalink
📝 Add use section in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
smolijar committed Dec 3, 2019
1 parent a1b97b9 commit 10852c2
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,22 @@ A script for generating [fortune](https://en.wikipedia.org/wiki/Fortune_(Unix))
```

## Use

TODO

1. Run scraper and generate cookie
```bash
make
```
2. Add toxic cookie to your cookie sources
```bash
# move toxic to your fortune directory
# your directory may be different, run `fortune -f` to find it
sudo mv toxic toxic.dat /usr/share/fortune/off
```
3. Run fortune
```bash
fortune -o # run with all offensive cookie files (including others than toxic)
fortune /usr/share/fortune/off/toxic # run only toxic cookie
fortune /usr/share/fortune/off/toxic | cowsay # pipe result to cowsay!
```
## License

This project is licensed under [MIT](./LICENSE).

0 comments on commit 10852c2

Please sign in to comment.