Keith Bennett bd0a5b2598 docs(chucknorris): add useful note (#12822) 2 months ago
..
fortunes 0e41181d54 chore: fix spelling errors across the project (#10459) 3 years ago
.gitignore 2e0da6864b add chucknorris plugin 10 years ago
README.md bd0a5b2598 docs(chucknorris): add useful note (#12822) 2 months ago
chucknorris.plugin.zsh 53c9661b00 refactor(chucknorris): refresh plugin code 3 years ago

README.md

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.

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.