Skip to content

Conversation

@vosslab
Copy link

@vosslab vosslab commented Jan 16, 2026

Problem: codex-accounts.sh list did not indicate which account is currently active.

Change: cmd_list now calls load_state and prefixes the active account with "*". Non-active accounts continue to use "-".

User impact: Easier to confirm the active account at a glance. No change to account selection logic.

Before:

codex-accounts.sh list
- accountA
- accountB

After:

codex-accounts.sh list
* accountA
- accountB

Testing:

  • Ran codex-accounts.sh list with a known active account set and confirmed "*" appears only on the active one.
  • Ran codex-accounts.sh list with no saved accounts and confirmed output remains "(no accounts saved yet)".

  - Added load_state call to get the current account name
  - Active account shows * prefix
  - Other accounts show - prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant