Skip to content

Commit 10852c2

Browse files
committed
📝 Add use section in readme
1 parent a1b97b9 commit 10852c2

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,22 @@ A script for generating [fortune](https://en.wikipedia.org/wiki/Fortune_(Unix))
3131
```
3232

3333
## Use
34-
35-
TODO
36-
34+
1. Run scraper and generate cookie
35+
```bash
36+
make
37+
```
38+
2. Add toxic cookie to your cookie sources
39+
```bash
40+
# move toxic to your fortune directory
41+
# your directory may be different, run `fortune -f` to find it
42+
sudo mv toxic toxic.dat /usr/share/fortune/off
43+
```
44+
3. Run fortune
45+
```bash
46+
fortune -o # run with all offensive cookie files (including others than toxic)
47+
fortune /usr/share/fortune/off/toxic # run only toxic cookie
48+
fortune /usr/share/fortune/off/toxic | cowsay # pipe result to cowsay!
49+
```
3750
## License
3851

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

0 commit comments

Comments
 (0)