Skip to content

Persist awsctx context across shells#74

Merged
lox merged 1 commit intomainfrom
awsctx-persist-context
Apr 19, 2026
Merged

Persist awsctx context across shells#74
lox merged 1 commit intomainfrom
awsctx-persist-context

Conversation

@lox
Copy link
Copy Markdown
Owner

@lox lox commented Mar 13, 2026

Summary

  • persist the selected AWS profile/region to an XDG state file
  • restore persisted context automatically when zsh/aws.zsh is sourced
  • clear persisted context when awsctx --clear is used
  • have awssh attempt restore before starting SSM sessions

Verification

  • zsh -n zsh/aws.zsh
  • manual smoke test for save/restore/clear with temporary XDG_STATE_HOME

@lox lox merged commit 601b86c into main Apr 19, 2026
1 check passed
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