Skip to content

docs(default): restore flox init -D once the flag ships - #94

Open
stephenyeargin wants to merge 1 commit into
mainfrom
stephenyeargin/dev-173-revert-init-d-workaround
Open

stephenyeargin wants to merge 1 commit into
mainfrom
stephenyeargin/dev-173-revert-init-d-workaround

Conversation

@stephenyeargin

@stephenyeargin stephenyeargin commented Sep 17, 2026

Copy link
Copy Markdown
Member

What

Reverts the workaround from #62 in tutorials/default-environment.mdx:

  • Code sample: flox init -r <youruser>/defaultflox init -D
  • Note example: flox activate -Dflox init -D

Why

#62 switched the tutorial to the longhand form because flox init did not accept -D. flox/flox#4715 adds -D/--default to flox init as an alias for -r <user>/default, so the shorthand is accurate again.

Hold for merge

Warning

Do not merge until a flox release includes flox init -D.
The docs describe released behavior; merging before the flag ships would document a command users cannot run yet. Draft until then.

Refs: flox/flox#4715, DEV-173


Via Forge (forge-implement) • 7137ca00

Reverts the workaround from #62, which switched the default-environment
tutorial to the longhand `flox init -r <youruser>/default` because
`flox init` did not yet accept `-D`. flox/flox#4715 adds the flag, so
restore the shorthand in both the code sample and the Note example.

Hold for merge until a flox release includes `flox init -D`.

Refs: flox/flox#4715, DEV-173

Forge-Agent: forge-implement (7137ca00)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Sep 17, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
flox 🟢 Ready View Preview Sep 17, 2026, 5:39 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@djsauble djsauble left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving but not merging until the release with flox init -D ships!

@stephenyeargin
stephenyeargin marked this pull request as ready for review September 21, 2026 14:00
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.

2 participants