You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
calling source zsh_setup.sh from a zsh prompt
and giving the OpenAI keys suddenly makes the prompt go away and the setup fails.
After some investigation, it looks like there is an error at: this line (in zsh_setup.sh:46)
❯ # print info about my ubuntu installation
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
I also faced the same issue until I solved it by experimenting.
You just need to edit the zsh_setup.sh a bit
On Line 46 => sed -i '' '/### Codex CLI setup - start/,/### Codex CLI setup - end/d' $zshrcPath
Replace it with => sed -i '/### Codex CLI setup - start/,/### Codex CLI setup - end/d' $zshrcPath
Very small change just remove the empty colons that's it, Problem will now be solved
calling
source zsh_setup.sh
from a zsh promptand giving the OpenAI keys suddenly makes the prompt go away and the setup fails.
After some investigation, it looks like there is an error at: this line (in zsh_setup.sh:46)
The error is
sed: can't read /### Codex CLI setup - start/,/### Codex CLI setup - end/d: No such file or directory
I already have ~/.zshrc, so this is a different issue from #115
If I comment that line (the one that calls sed), then the setup completes successfully.
The text was updated successfully, but these errors were encountered: