Skip to content

Clarify empty PSCommander config startup#3

Merged
adamdriscoll merged 1 commit into
mainfrom
adamdriscoll-issue-1-work
Jul 21, 2026
Merged

Clarify empty PSCommander config startup#3
adamdriscoll merged 1 commit into
mainfrom
adamdriscoll-issue-1-work

Conversation

@adamdriscoll

Copy link
Copy Markdown
Member

Starting PSCommander with a manually created empty config.ps1 looked like nothing happened, because the starter configuration was only written when the file was missing. This makes the empty-file path behave like first-run setup and updates the README to explain that configuration commands should be saved in config.ps1.

Changes:

  • Write the default starter toolbar configuration when Start-Commander finds an empty config file.
  • Keep opening the config editor for newly created or newly seeded configs.
  • Clarify that running New-Commander* commands in an interactive session does not automatically persist them to config.ps1.

Closes #1

Handle empty config.ps1 files by writing the starter toolbar configuration, matching the missing-file startup behavior. Update README guidance to explain that configuration commands belong in config.ps1 and are not automatically persisted from an interactive session.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@adamdriscoll
adamdriscoll merged commit 7a40026 into main Jul 21, 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.

Nothing happens when executing Start-commander

1 participant