Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if fnm is installed before shell setup #937

Merged
merged 3 commits into from
May 27, 2024
Merged

Conversation

emivespa
Copy link
Contributor

@emivespa emivespa commented Mar 9, 2023

Change $CONF_FILE append strings to check whether $INSTALL_DIR exists before
doing any shell setup. This way, whenever a user syncs their shell config across
machines, the machines without fnm installed won't throw errors.

Also, remove the append string duplication with { echos ; } | tee -a $CONF_FILE

emivespa added 2 commits March 9, 2023 02:06
Also, fish bit was the only one that didn't print a newline to
$CONF_FILE, now they're all the same.
Change $CONF_FILE append strings to check whether $INSTALL_DIR exists
before doing any setup. This way whenever a user syncs their shell
config across machines, the machines without fnm installed won't throw
errors.
@changeset-bot
Copy link

changeset-bot bot commented Mar 9, 2023

⚠️ No Changeset found

Latest commit: 4d5e5c2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented May 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fnm ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 27, 2024 2:01pm

@Schniz Schniz merged commit 1b86087 into Schniz:master May 27, 2024
23 of 27 checks 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.

2 participants