Skip to content

Instantly share code, notes, and snippets.

@imWildCat
Last active September 11, 2025 01:41
Show Gist options
  • Save imWildCat/fac4393ce1a6434540c1cdea09cf775c to your computer and use it in GitHub Desktop.
Save imWildCat/fac4393ce1a6434540c1cdea09cf775c to your computer and use it in GitHub Desktop.
codex-enhanced by Ian Nuttall on X
# from: <https://x.com/iannuttall/status/1965090297630826931>
cdx() {
if [[ "$1" == "update" ]]; then
npm install -g @openai/codex@latest
else
codex -m gpt-5 --yolo -c model_reasoning_effort="high" --search "$@"
fi
}
# Note: with auto confirmation. use at your own risk. thanks!
# from: <https://x.com/iannuttall/status/1965090297630826931>
cdx() {
if [[ "$1" == "update" ]]; then
npm install -g @openai/codex@latest
else
codex -m gpt-5 -c model_reasoning_effort="high" --search "$@"
fi
}
@imWildCat
Copy link
Author

imWildCat commented Sep 8, 2025

How to use it?

Put into your rc files like ~/.zshrc or ~/.bashrc

Source

image

https://x.com/iannuttall/status/1965090297630826931

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment