bug: fish completions are broken
Resolved 💬 1 comment Opened Apr 21, 2025 by kernkraft235 Closed Apr 21, 2025
What version of Codex is running?
0.1.2504172351
Which model were you using?
not applicable
What platform is your computer?
Darwin 24.4.0 arm64 arm
What steps can reproduce the bug?
in fish shell:
codex completion fish
produces:
# fish completion for codex
complete -c codex -a '(_fish_complete_path)' -d 'file path'
Activate completion via:
eval "$(codex completion fish)"
# OR
codex completion fish > ~/.config/fish/completions/codex.fish && exec fish
# (the only ways I know how to install/activate completions in fish)
What is the expected behavior?
press tab after typing "codex " in prompt --> completions of the codex command
What do you see instead?
codex fish: Unknown command: _fish_complete_path home 04:17
fish:
_fish_complete_path
^~~~~~~~~~~~~~~~~~^
in command substitution
Additional information
fish, version 4.0.2 npm, version 11.3.0 node, version v23.11.0 codex, version v0.1.2504172351 <-- npm i -g @openai/codexThis issue has 1 comment on GitHub. Read the full discussion on GitHub ↗