Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 486 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 486 Bytes

Getting started

Add your open ai api key to your .env like so

OPENAI_API_KEY=my-open-ai-key

You'll need to install the following packages

openai dotenv

Once you've done that add this to your .zshrc

function mastermind() {
  source {INSERT_PATH_TO_DIRECTORY}/.venv/bin/activate
  mastermind.py
  deactivate
}

then make it callable by running chmod +x mastermind.py

then add to source path export PATH=$PATH:$HOME/Documents/GitHub/mastermind in .zshrc