Terminal should open a login shell
Resolved 💬 4 comments Opened Feb 5, 2026 by orome Closed Apr 22, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
App
What feature would you like to see?
Currently the terminal opens a non-login interactive shell. It should open a login shell (or there should at least be an option to do this)
Additional information
_No response_
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Thanks for flagging this. To help us reproduce and prioritize:\n\n1. What environment are you using (OS, version, and install method)?\n2. What exact command or config triggers the issue?\n3. Can you share logs or error output if available?\n\nWe will update the proposal once we have the missing details.
This feature request hasn't received any upvotes or posts for many months, so I'm going to close.
I see a similar issue with Codex Desktop Remote SSH on Amazon Linux 2023 (
codex-cli 0.147.0).My configured login shell is
/usr/bin/zsh, and normal SSH opens Zsh. However, the Codex integrated terminal starts/bin/bash -ilwithSHELL=/bin/bash.My current workaround in
~/.bash_profileis:Codex should open the user's configured login shell directly. Are there plans to continue work on this behavior, or could this issue be reopened?