1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-24 06:40:07 +00:00
ohmyzsh/plugins/hitchhiker
2024-09-01 21:01:27 +02:00
..
fortunes chore: fix typos (#12647) 2024-09-01 21:01:27 +02:00
.gitignore feat(plugins): add hitchhiker plugin (#5117) 2021-03-27 22:25:22 +01:00
hitchhiker.plugin.zsh chore: fix comment bulk replace 2021-12-28 14:34:09 +01:00
README.md feat(plugins): add hitchhiker plugin (#5117) 2021-03-27 22:25:22 +01:00

hitchhiker

This plugin adds quotes from The Hitchhiker's Guide to the Galaxy, from Douglas Adams.

To use it, add hitchhiker to the plugins array in your zshrc file:

plugins=(... hitchhiker)

Aliases

  • hitchhiker: displays a quote from the book using fortune.
  • hitchhiker_cow: displays a quote from the book using cowthink.
$ hitchhiker_cow
 _______________________________________
( "OK, so ten out of ten for style, but )
( minus several million for good        )
( thinking, yeah? "                     )
 ---------------------------------------
        o   ^__^
         o  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Requirements

  • fortune and strfile.
  • cowthink if using the hitchhiker_cow command.

Credits

Fortune file: Andreas Gohr andi@splitbrain.org (splitbrain.org)

Spelling and formatting fixes: grok@resist.ca

Original quotes from: