summaryrefslogtreecommitdiff
path: root/plugins/chucknorris/README.md
blob: 655e7cf1175251ace4bfeadec14ca3f4b9ad1f99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# chucknorris

Fortunes plugin for Chuck Norris for Oh My Zsh. Perfectly suitable as MOTD.

To use it add `chucknorris` to the plugins array in you zshrc file.

```zsh
plugins=(... chucknorris)
```

## Usage

| Command     | Description                     |
| ----------- | ------------------------------- |
| `chuck`     | Print random Chuck Norris quote |
| `chuck_cow` | Print quote in cowthink         |

Example: output of `chuck_cow`:

```
Last login: Fri Jan 30 23:12:26 on ttys001
 ______________________________________
( When Chuck Norris plays Monopoly, it )
( affects the actual world economy.    )
 --------------------------------------
        o   ^__^
         o  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
```

## Requirements

- `fortune`
- `cowsay` if using `chuck_cow`

Available via homebrew, apt, ...

> [!NOTE]  
> In addition to installing `fortune`, it may be necessary to run:
> 
> `strfile $ZSH/plugins/chucknorris/fortunes/chucknorris\n`
> 
> (include the "\n" literally) to write the fortune data to the proper directory.