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

feat(binstall): don't require terminal reload #318

Merged
merged 2 commits into from
Mar 2, 2021

Conversation

EverlastingBugstopper
Copy link
Contributor

@EverlastingBugstopper EverlastingBugstopper commented Mar 1, 2021

fixes #212 - windows doesn't need any changes since there aren't really "shell startup scripts", we're just directly modifying the PATH in that case. *nix installers just call the -c source ~/.rover/env command and call it a day :)

@EverlastingBugstopper EverlastingBugstopper added the feature 🎉 new commands, flags, functionality, and improved error messages label Mar 1, 2021
@EverlastingBugstopper EverlastingBugstopper added this to the March 9 milestone Mar 1, 2021
@EverlastingBugstopper EverlastingBugstopper self-assigned this Mar 1, 2021
// re-source their shell. the binary will be available for
// execution immediately after installation.
let _ = Command::new(shell.name())
.arg("-c")
Copy link
Contributor

Choose a reason for hiding this comment

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

Ooh, neato! I didn't know about this

-c         take first argument as a command to execute

@EverlastingBugstopper EverlastingBugstopper merged commit 7fb6f21 into main Mar 2, 2021
@EverlastingBugstopper EverlastingBugstopper deleted the avery/dont-reload branch March 2, 2021 16:52
EverlastingBugstopper added a commit that referenced this pull request Mar 31, 2021
EverlastingBugstopper added a commit that referenced this pull request Mar 31, 2021
* feat(binstall): adds postinstall instructions

* Revert "feat(binstall): don't require terminal reload (#318)"

This reverts commit 7fb6f21.

* fix: clippy warning
@EverlastingBugstopper
Copy link
Contributor Author

this did not work and the commit was reverted in #406

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🎉 new commands, flags, functionality, and improved error messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(installer): dont require reloading terminal
3 participants