-
Notifications
You must be signed in to change notification settings - Fork 907
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
Auto execute refreshenv after install #2458
Comments
Can you clarify how you know that the 'majority are annoyed by it'? |
Programmers who would like to use the installed command right after installing the framework without having to remember a long unique commands or restart the console or worst the PC.
I never figure it why developers fight user convenience. Would you accept having to turn your TV off/on between changing the channels? Or disconnecting/reconnecting to wifi between sending 2 emails? |
You stated that the majority of users were annoyed by having to type Development effort has to be balanced. If the majority of people want something, then it's a different balance by 1 person wanting it. So my question was to get an understanding of that. I didn't think that was unreasonable. As the solution for this is run |
I made a wild guess that people want less extra work to get things done, but we can make some vote on it. I understand it's a windows limitation, but chocolatey is an os extension to make like easier, so we could take it a bit further. It could be at the end of last install, doesn't have to be between installs: Or if you really don't want to do this then an extra command at the end, but this will still consume user time to look it up: |
I agree that calling refreshenv manually is annoying, it should be called automatically after last package is installed. |
Similar feature request for winget microsoft/winget-cli#3077 |
Please auto call refreshenv after new installation.
E.g. on linux after I do apt-get I don't have to do anything to use the newly installed commands.
PATH is already modified after install, there is no point using and old view of PATH in the current console.
Majority of people are annoyed by it, for the minority there could be a "disable autorefresh" setting.
The text was updated successfully, but these errors were encountered: