tom-doerr / zsh_codex

This is a ZSH plugin that enables you to use OpenAI's Codex AI in the command line.

Repository from Github https://github.comtom-doerr/zsh_codexRepository from Github https://github.comtom-doerr/zsh_codex

Create `xontrib-codex` for xonsh shell

anki-code opened this issue · comments

Hello @tom-doerr and all! Thank you for this extension!

I see the completion was implemented in python and this is the great opportunity to create Codex extension for the python-powered https://xon.sh shell!

How to do it:

  • You can create xonsh xontrib (extension) by using 5-minutes template generator - xontrib-template. In case of examples there are around 100 xontribs on Github - topics/xontrib
  • To understand how to use cursor in prompt-toolkit (xonsh prompt platform) you can review the xontrib-abbrevs code.

So you can create xontrib-codex for xonsh shell. It will be cool!

Thanks!

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment