Skip to content

Skip the Vite+ env when Vite+ is not installed - #59

Merged
stephendolan merged 1 commit into
mainfrom
agent/zshenv-optional-vite-plus
Oct 12, 2026
Merged

stephendolan merged 1 commit into
mainfrom
agent/zshenv-optional-vite-plus

Conversation

@stephendolan

Copy link
Copy Markdown
Owner

shell/zshenv sources ~/.vite-plus/env unconditionally, so every new zsh prints no such file or directory on machines without Vite+ (the home server's media account showed it after its dotfiles caught up with main). This sources it only when present and keeps zshenv's exit status zero when it is absent.

🤖 Generated with Claude Code

Every new zsh printed "no such file or directory" for ~/.vite-plus/env on
machines without Vite+, such as the home server's media account. Source
it only when present, and keep zshenv's exit status zero.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stephendolan
stephendolan merged commit e766530 into main Oct 12, 2026
1 check passed
@stephendolan
stephendolan deleted the agent/zshenv-optional-vite-plus branch October 12, 2026 21:21
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