Get suggestions truly in your shell. No suggest
bullshit. Just press CTRL + Z
and get your suggestion.
out.mp4
Please make sure you have the following dependencies installed:
git clone https://github.com/Myzel394/zsh-copilot.git ~/.zsh-copilot
echo "source ~/.zsh-copilot/zsh-copilot.plugin.zsh" >> ~/.zshrc
You need to have an OPENAI API key with access to gpt-4
to use this plugin. Expose this via the OPENAI_API_KEY
environment variable:
export OPENAI_API_KEY=<your-api-key>
I tried out using gpt-3
but the results were garbage.
To see available configurations, run:
zsh-copilot --help
Type in your command or your message and press CTRL + Z
to get your suggestion!