/fortune-python

Primary LanguagePythonOtherNOASSERTION

The fortune program made in python

Fortune with quotes taken from https://github.com/bmc/fortunes.

Install

  1. Clone this repository anywhere you want
  2. Copy "fortunes" file from https://github.com/bmc/fortunes onto your computer, into a .txt file, anywhere you want
  3. Edit the main.py file to use the path to your "fortunes" txt file
  4. Edit your .bashrc file in your home directory to include alias fortune="(cd PATH; python3 main.py)", where PATH is the path to the cloned repo
  5. Type fortune into your shell and enjoy your life!