{"repo":"tom-doerr/zsh_codex","free":true,"listed":false,"github":"https://github.com/tom-doerr/zsh_codex","clone":"git clone https://github.com/tom-doerr/zsh_codex.git","description":"This is a ZSH plugin that enables you to use OpenAI's Codex AI in the command line.","language":"Python","stars":1734,"topics":["zsh","openai","codex","ai"],"license":"MIT","category":"cli-tools","readme_excerpt":"⌨️ 🦾 Zsh Codex AI in the command line. You just need to write a comment or variable name and the AI will write the corresponding code. What is it? This is a ZSH plugin that enables you to use AI powered code completion in the command line. It now supports both OpenAI's Codex and Google's Generative AI (Gemini). OpenAI Codex is the AI that also powers GitHub Copilot, while Gemini is Google's advanced language model. How do I install it? Manual Installation 1. Install the OpenAI package, the Google package, or boto3. or or 2. Download the ZSH plugin. 3. Add the following to your .zshrc file. Using oh-my-zsh: Without oh-my-zsh: 4. Create a file called zsh codex.ini in /.config . Example: In this configuration file, you can define multiple services with their own configurations. The required and optional parameters of the api type are specified in services/sevices.py . Choose which service to use in the [service] section. 6. Run zsh , start typing and complete it using ^X ! 7. If you use virtual environments you can set ZSH CODEX PYTHON to python executable where openai or google-generativeai is installed. e.g. for miniconda you can use: Fig Installation Troubleshooting Unhandled ZLE widget 'create completion' Add the line before you call bindkey but after loading the plugin ( plugins=(zsh codex) ). Already exists and is not an empty directory Try to download the ZSH plugin again. --- Passing in context Since the current filesystem is not passed into the ai you will need to eith","default_branch":null,"files":null,"tree":[],"storefront":"/r/tom-doerr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tom-doerr/zsh_codex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}