summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2023-10-09feat(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-09-13fix(changelog): fix regression for unstyled code in commit subjectsMarc Cornellà
2023-08-29fix(updater): disable `nounset` to avoid warnings (#11856)Marc Cornellà
2023-04-17fix(check_for_upgrade): update properly `LAST_EPOCH`Carlo Sala
Fixes #11617
2023-04-03fix(changelog): ignore lines containing whitespace in breaking change commitsMarc Cornellà
2023-04-03chore(installer): remove words triggering false positives in antivirusesMarc Cornellà
2023-04-01fix(updater): search for upstream remote if using non-conventional name (#11135)Marc Cornellà
Fixes #11135
2023-03-31fix(upgrade): typo in variable checkCarlo Sala
2023-03-31feat(changelog): provide links in changelog (#11578)Guy Sartorelli
2023-03-31fix(installer): don't use `sudo` when user is in Termux (#11591)Webpage-gh
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-03-28feat(upgrade): add verbosity settingsHåvard Bartnes
Co-authored-by: Carlo Sala <carlosalag@protonmail.com> Closes #11574 Closes #11579
2023-03-23fix(uninstall): abort uninstall if unable to change shell (#10357)Michele Bologna
2023-02-02fix(installer): automatically create ZDOTDIR path if it doesn't existMarc Cornellà
2023-02-02fix(installer): don't use `$ZDOTDIR` in zshrc file if same as `$HOME`Marc Cornellà
Fixes #11471
2023-01-29feat(installer): respect and install in `$ZDOTDIR` if set (#9376)Alex
Fixes #9001 Fixes #10479 Closes #9376 Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-01-17fix(upgrade): do not upgrade if not called from ttyCarlo Sala
Fixes #11390
2023-01-03fix(upgrade): check if git is available and workingCarlo Sala
macOS seems to break dev tools when updating the system. This should prevent the previous issues. See #11309 Closes #11420
2022-11-27fix(changelog): generate correct commit link in markdown (#11356)jzhang046
2022-10-14fix(installer): detect newer Git for Windows version errors (#11157)Marc Cornellà
Fixes #11157
2022-10-12fix: show full hyperlinks in Konsole (#10964)Marc Cornellà
Fixes #10964
2022-10-12fix: fix OSC 8 hyperlink escape sequencesMarc Cornellà
2022-10-03chore(docs): fix some typos (#11211)George Rodrigues
2022-07-26fix(updater): correct spelling of `curl` flag (#11072)Brian Wright
2022-06-01fix(updater): use `curl --connect-timeout` in new update checkMarc Cornellà
2022-04-10feat(updater): check for typed input before automatically updating (#10830)Marc Cornellà
2022-03-28fix(installer): exit install directory on setup (#10804)Marc Cornellà
2022-03-17fix(updater): change remote using deprecated `git:` protocol (#10779)thinszx
2022-03-07fix(installer): fix `$HOME` setting if `getent` is not found (macOS)Marc Cornellà
Related: https://github.com/ohmyzsh/ohmyzsh/pull/10713/files#r820219899
2022-03-04fix(updater): prefix `cd` with `builtin` when it is aliased (#10753)SBado
2022-02-25fix(installer): fix removal of OMZ directory on failureMarc Cornellà
When the `git init` call fails, the directory is not created, so the rm command fails with a not found error. This change checks whether the directory exists before deleting it.
2022-02-24fix(updater): fix check for latest commit in local repositoryMarc 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-24fix(updater): timeout after 2s on available update checkMarc Cornellà
2022-02-22fix(installer): silence `git init`Marc Cornellà
2022-02-22fix(installer): set `$HOME` if not defined (#10680)Marc Cornellà
Fixes #10680
2022-02-11fix(updater): fix input check on non-interactive runsMarc Cornellà
Reference: https://www.zsh.org/mla/users/2022/msg00067.html
2022-02-11fix(updater): do not swallow 1 character in check for user inputMarc Cornellà
Co-authored-by: Philippe Troin <phil@fifi.org>
2022-02-07feat(updater): do not update when user already typed some characters (#9699)Marc Cornellà
Fixes #9699
2022-01-28refactor(installer): use POSIX-standard's `id -u -n` to define `$USER`Marc Cornellà
2022-01-28fix(changelog): don't show changelog with only ignored type commitsMarc Cornellà
2022-01-27fix(installer): avoid `git clone -c` to support git v1.7.1 (#10621)Marc Cornellà
2022-01-24style(updater): silence `git pull` output and show errors in EnglishMarc Cornellà
2022-01-24fix(installer): correct check for `sudo` in shell change logicMarc Cornellà
2022-01-24fix(installer): define `$USER` if not definedMarc Cornellà
Fixes missing $USER value in ArchLinux sh (bash)
2022-01-24style(installer): prefix formatting variables with `FMT_`Marc Cornellà
2022-01-22fix: do not call chpwd hooks in subshellsMarc Cornellà
2022-01-13fix: get branch name first in `omz version` and changelogMarc Cornellà
2022-01-13fix(updater): give priority to `zstyle` settings if set (#10587)Marc Cornellà
Fixes #10587
2022-01-13style(updater): remove statl from `git pull`Marc Cornellà
2022-01-11refactor(installer): simplify `user_can_sudo` checkMarc Cornellà
2022-01-11fix(installer): fix `sudo` check for users with password or without privilegesMarc Cornellà
The previous check only worked if the user could run `sudo` without typing the password, which is almost none (I checked in Google Cloud Shell so I failed to notice this). This new check works whether the user has no sudo privileges, or if it has, whether they have to type in the password or not. It should really be easier to check if the user doesn't have privilege without having to make them type the password.