-
Notifications
You must be signed in to change notification settings - Fork 4
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
Delay update / interactive update #12
Comments
Literally, two years have passed... |
I somehow missed this when you opened it, apologies. The main issue I have with a prompt is that then your new terminal windows are blocked on user input. Maybe add the prompt only if |
Isn't it exactly what happens now? From time to time, my workflow suddenly get all blocked by unexpected update, without leaving me much of a choice. Why does it feel like using Windows anyway? Maybe I would be happy to update, but now right now. Maybe I'd even open a separate terminal window specifically for the update, but I definitely don't want to read an update log in an IntelliJ terminal widget, or at console tty while rescuing hung up Xorg server. And the worst part — if you were to kill the untimely update process, you'd get completely bare zsh, since .zshrc wasn't fully executed. |
With that being said, I really want automatic updates. Or at least, I want software to remind/tell me when an update is available. But it most certainly must not be such an intrusive process. Besides, why not doing this somewhere in the background, completely non-interactively? |
The plugin just calls zgen's internal commands and I didn't want to have them spewing output into the terminal session while you're trying to get work done. I didn't want to just toss it in Maybe have a flag file to have it warn you "you need to do a zgen selfupdate/zgen update" without actually running the update. |
There is definitely more than one way around it. But current strategy is clearly too straight-forward. Also, would be good to have something like this in zgen itself. I mean, this kind of stuff is my dotfiles, it is not governed under jurisdiction of package managers — I can't just |
When I originally brought it up, the zgen maintainer didn't want an autoupdate patch, which is why I wrote the plugin. |
You know, the old times when people used to have
Looking at their Gtihub activity, it is almost certainly a dead project by now. At this point, I'm sure they don't want to do anything about it, let alone autoupdate patch. Is it time to migrate elsewhere? Eeewww, changes, not again... |
That's how I see it fit: /me opens up zsh. On hour later: Tomorrow: |
I really didn't want to change away from zgen, but you're right, it is looking pretty dead. |
Please, add an option to skip an update, like oh-my-zsh does. Sometimes it starts to update on a new tab in the most inconvenient moment, so a quick "Would you like Zgen to update?" may save some nerves. (:
The text was updated successfully, but these errors were encountered: