Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-09 | feat(updater): add `background-alpha` update mode (preview) (#11928) | Marc Cornellà | |
NOTE: this feature is in alpha / preview mode, it is not guaranteed to work 100% of the time in all cases. If you experience any issues, open an issue or search for an open one describing your same situation. To use this, use the zstyle update mode settings [1] with the value `background-alpha`: zstyle ':omz:update' mode background-alpha [1] https://github.com/ohmyzsh/ohmyzsh#getting-updates | |||
2023-04-17 | fix(check_for_upgrade): update properly `LAST_EPOCH` | Carlo Sala | |
Fixes #11617 | |||
2023-03-28 | feat(upgrade): add verbosity settings | Håvard Bartnes | |
Co-authored-by: Carlo Sala <carlosalag@protonmail.com> Closes #11574 Closes #11579 | |||
2023-01-17 | fix(upgrade): do not upgrade if not called from tty | Carlo Sala | |
Fixes #11390 | |||
2023-01-03 | fix(upgrade): check if git is available and working | Carlo Sala | |
macOS seems to break dev tools when updating the system. This should prevent the previous issues. See #11309 Closes #11420 | |||
2022-07-26 | fix(updater): correct spelling of `curl` flag (#11072) | Brian Wright | |
2022-06-01 | fix(updater): use `curl --connect-timeout` in new update check | Marc Cornellà | |
2022-04-10 | feat(updater): check for typed input before automatically updating (#10830) | Marc Cornellà | |
2022-03-04 | fix(updater): prefix `cd` with `builtin` when it is aliased (#10753) | SBado | |
2022-02-24 | fix(updater): fix check for latest commit in local repository | Marc Cornellà | |
The previous check simply compared whether the last commit of the branch was the same in the local and the remote repository. This commit also checks whether the remote commit is an ancestor of the local commit. This fixes the case where the local repository has new commits after the last published commit. | |||
2022-02-24 | fix(updater): timeout after 2s on available update check | Marc Cornellà | |
2022-02-11 | fix(updater): fix input check on non-interactive runs | Marc Cornellà | |
Reference: https://www.zsh.org/mla/users/2022/msg00067.html | |||
2022-02-11 | fix(updater): do not swallow 1 character in check for user input | Marc Cornellà | |
Co-authored-by: Philippe Troin <phil@fifi.org> | |||
2022-02-07 | feat(updater): do not update when user already typed some characters (#9699) | Marc Cornellà | |
Fixes #9699 | |||
2022-01-22 | fix: do not call chpwd hooks in subshells | Marc Cornellà | |
2022-01-13 | fix(updater): give priority to `zstyle` settings if set (#10587) | Marc Cornellà | |
Fixes #10587 | |||
2021-12-01 | feat(updater): show command to update when update skipped (#10465) | Nick Aldwin | |
2021-11-25 | fix(updater): stop update if `$ZSH` is not a git repository (#10448) | Marc Cornellà | |
Fixes #10448 | |||
2021-11-10 | fix(updater): avoid `git -C` for compatibility with git < v1.8.5 (#10404) | Marc Cornellà | |
Fixes #10404 | |||
2021-11-09 | refactor(updater): simplify check for available updates | Marc Cornellà | |
2021-11-05 | fix(updater): stop update if connection unavailable | Marc Cornellà | |
2021-10-04 | feat(updater): check if there are updates before prompting (#8387) | Marc Cornellà | |
Fixes #8387 | |||
2021-10-04 | feat(updater): add mode to only remind you to update when it's time (#10187) | Marc Cornellà | |
Fixes #10187 Co-authored-by: NoPreserveRoot <NoPreserveRoot@pm.me> | |||
2021-10-04 | refactor(updater): change auto-update settings to use `zstyle` | Marc Cornellà | |
2021-07-08 | fix(update): fix error exit code on update check (#10033) | Marc Cornellà | |
This patch removes the 'exit 1' status code when the update check finishes or is ended with CTRL+C. Fixes #10033 | |||
2021-03-01 | fix(update): don't error on upgrade no-op (#9685) | Cai Cooper | |
* Don't error on upgrade no-op No error code is required for a non failure scenario. * Manually check whether changes were pulled in `omz update` Co-authored-by: Marc Cornellà <hello@mcornella.com> | |||
2021-01-21 | fix(updater): refresh date of last update only on successful update | Marc Cornellà | |
2020-12-07 | fix(updater): don't show changelog when running unattended update (#9495) | Marc Cornellà | |
Fixes #9495 | |||
2020-11-30 | refactor(updater): switch to Zsh execution and fix git remote detection logic | Marc Cornellà | |
2020-07-13 | update: prefix rm call with command in trap (#9107) | M. Yas. Davoodeh | |
* Suppress the problematic trap output in check_upg The newly added trap, in systems where `rm` is aliased to `rm="rm -v"`, shows a message stating that "update.lock" has been removed each time `zsh` is called. I simply suppressed it with directing the output to `/dev/null`. * Use `command` instead of >/dev/null to suppress | |||
2020-06-28 | update: change dash in function name for sh compat (fixes #9064) | Marc Cornellà | |
2020-06-28 | update: only update on a valid affirmative input (#9062) | alexagnelli | |
Co-authored-by: Marc Cornellà <marc.cornella@live.com> | |||
2020-06-09 | update: refactor and fix logic in check_for_upgrade.sh (#8939) | Marc Cornellà | |
2019-04-07 | upgrade: fix lock-out on first upgrade check | Marc Cornellà | |
This early return made it so the lock wasn't removed, therefore locking out the upgrade script from ever entering the upgrade routine. Fixes #6138 Note: the logic needs some rework. | |||
2018-06-15 | Fixed Issue #4550: Move ~/.zsh-update file to $ZSH_CACHE_DIR | Chao Du | |
2018-05-15 | Update the update prompt (#6825) | Gert de Pagter | |
`[Oh My Zsh] Would you like to check for updates? [Y/n]: ` does not make sense, since answering yes will download/apply the new updates instead of checking for them. | |||
2016-10-03 | Convert "if then" statements to "if; then" one-liners | Fabian Wolff | |
2016-10-03 | Use rmdir instead of rm -r | Fabian Wolff | |
2016-10-03 | Implement a locking mechanism to avoid multiple update prompts (fixes #3766) | Fabian Wolff | |
2016-08-09 | Replace /bin/sh with sh for portability (#5291) | Fredrik Fornwall | |
This makes things work even on system lacking /bin/sh, such as on non-rooted Android systems. | |||
2015-11-29 | Merge pull request #4207 from mpscholten/master | Marc Cornellà | |
Also accept any forms of yes as an answer to the "do you want to update?" prompt | |||
2015-10-16 | Check for git before trying to upgrade, as per #4504 | Arvind Chembarpu | |
2015-08-03 | Also accept any forms of yes as an answer to the "do you want to update?" prompt | Marc Scholten | |
2015-06-10 | No input for Update Check defaults to Yes | HeroCC | |
2014-12-15 | fix(tools/check_for_upgrade): Don't source profile | Mark Feltner | |
Reverts #2296, but mostly #1883. There is no need to source ~/.profile when this script is read. oh-my-zsh writes no configuration data in ~/.profile. If the user wishes to use data within ~/.profile, then they should source it in another place. Fixes #2315 | |||
2014-11-06 | Merge pull request #2946 from moinakg/master | Robby Russell | |
Solaris portability tweaks. | |||
2014-10-14 | Change to epoch target in days instead of seconds. | Moinak Ghosh | |
2014-09-17 | Convert epoch_target from days to seconds. | Moinak Ghosh | |
2014-09-16 | Update Solaris changes to use OSTYPE and zsh datetime module. | Moinak Ghosh | |
2014-08-20 | Replace /usr/bin/env with env | Fredrik Fornwall | |
Some environments (such as Android) does not have /usr/bin. |