nixos-config/dot_oh-my-zsh/plugins/hitchhiker
2024-10-22 11:11:45 -04:00
..
fortunes chezmoi init 2024-10-22 11:11:45 -04:00
dot_gitignore chezmoi init 2024-10-22 11:11:45 -04:00
hitchhiker.plugin.zsh chezmoi init 2024-10-22 11:11:45 -04:00
README.md chezmoi init 2024-10-22 11:11:45 -04: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: