microsoft / Codex-CLI

CLI tool that uses Codex to turn natural language commands into their Bash/ZShell/PowerShell equivalents
MIT License
2k stars 184 forks source link

zsh - Detect Codex CLI folder #103

Closed Vivihung closed 2 years ago

Vivihung commented 2 years ago

we should fix this, so that the default is not "current folder", but detect the correct folder. See for example how the bash setup detects the correct folder, no matter how the script is invoked

_Originally posted by @dluc in https://github.com/microsoft/Codex-CLI/pull/97#discussion_r878532565_