99aaf58d007f1378d1e0609bcd9baf8abbbaf327
- Author
- Copilot <198982749+Copilot@users.noreply.github.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix(codex): redirect stdin from /dev/null in background completion generation (#13921)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: carlosala <66907184+carlosala@users.noreply.github.com>
Diff
1diff --git a/plugins/codex/codex.plugin.zsh b/plugins/codex/codex.plugin.zsh
2index b5d1ab617a2e0d8ffcff0021831f7bae99aace14..654481be12b9c74cbe5c095833c9d967ca1bb47e 100644
3--- a/plugins/codex/codex.plugin.zsh
4+++ b/plugins/codex/codex.plugin.zsh
5@@ -11,4 +11,4 @@ if [[ ! -f "$ZSH_CACHE_DIR/completions/_codex" ]]; then
6 _comps[codex]=_codex
7 fi
8
9-codex completion zsh 2> /dev/null >| "$ZSH_CACHE_DIR/completions/_codex" &|
10+codex completion zsh < /dev/null 2> /dev/null >| "$ZSH_CACHE_DIR/completions/_codex" &|