fix: correct fish completion function name in CLI script (#485)

Missing an underscore.

fish function:
https://github.com/fish-shell/fish-shell/blob/master/share/functions/__fish_complete_path.fish

fixes https://github.com/openai/codex/issues/469
This commit is contained in:
Benny Yen
2025-04-22 02:45:49 +08:00
committed by GitHub
parent 12ec57b330
commit f72cfd7ef3

View File

@@ -190,7 +190,7 @@ _codex() {
}
_codex`,
fish: `# fish completion for codex
complete -c codex -a '(_fish_complete_path)' -d 'file path'`,
complete -c codex -a '(__fish_complete_path)' -d 'file path'`,
};
const script = scripts[shell];
if (!script) {