Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-28 | fix(installer): exit install directory on setup (#10804) | Marc Cornellà | |
2022-03-17 | fix(updater): change remote using deprecated `git:` protocol (#10779) | thinszx | |
2022-03-07 | fix(installer): fix `$HOME` setting if `getent` is not found (macOS) | Marc Cornellà | |
Related: https://github.com/ohmyzsh/ohmyzsh/pull/10713/files#r820219899 | |||
2022-03-04 | fix(updater): prefix `cd` with `builtin` when it is aliased (#10753) | SBado | |
2022-02-25 | fix(installer): fix removal of OMZ directory on failure | Marc 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-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-22 | fix(installer): silence `git init` | Marc Cornellà | |
2022-02-22 | fix(installer): set `$HOME` if not defined (#10680) | Marc Cornellà | |
Fixes #10680 | |||
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-28 | refactor(installer): use POSIX-standard's `id -u -n` to define `$USER` | Marc Cornellà | |
2022-01-28 | fix(changelog): don't show changelog with only ignored type commits | Marc Cornellà | |
2022-01-27 | fix(installer): avoid `git clone -c` to support git v1.7.1 (#10621) | Marc Cornellà | |
2022-01-24 | style(updater): silence `git pull` output and show errors in English | Marc Cornellà | |
2022-01-24 | fix(installer): correct check for `sudo` in shell change logic | Marc Cornellà | |
2022-01-24 | fix(installer): define `$USER` if not defined | Marc Cornellà | |
Fixes missing $USER value in ArchLinux sh (bash) | |||
2022-01-24 | style(installer): prefix formatting variables with `FMT_` | Marc Cornellà | |
2022-01-22 | fix: do not call chpwd hooks in subshells | Marc Cornellà | |
2022-01-13 | fix: get branch name first in `omz version` and changelog | Marc Cornellà | |
2022-01-13 | fix(updater): give priority to `zstyle` settings if set (#10587) | Marc Cornellà | |
Fixes #10587 | |||
2022-01-13 | style(updater): remove statl from `git pull` | Marc Cornellà | |
2022-01-11 | refactor(installer): simplify `user_can_sudo` check | Marc Cornellà | |
2022-01-11 | fix(installer): fix `sudo` check for users with password or without privileges | Marc 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. | |||
2022-01-11 | fix(installer): run `chsh` with sudo if user has privileges | Marc Cornellà | |
This fixes the error in Google Cloud Shell, where a password prompt appears when running `chsh` but the user (hello) does not have a password. If ran with `sudo`, the `chsh` command happens without a password prompt. | |||
2022-01-10 | fix: disable `log.showSignature` in `git log` calls | Marc Cornellà | |
2022-01-09 | style: use 24bit colors in Oh My Zsh logo if supported | Marc Cornellà | |
2021-12-26 | fix(installer): fix POSIX shell syntax of previous commit | Marc Cornellà | |
2021-12-26 | fix(installer): don't hard-code user `$HOME` directory on install | Marc Cornellà | |
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-16 | fix(install): fix backslash in `printf` when showing logo (#10422) | Marc Cornellà | |
Fixes #10422 | |||
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-09 | style: use `-n` flag in `head` and `tail` commands (#10391) | Kevin Burke | |
Co-authored-by: Marc Cornellà <hello@mcornella.com> | |||
2021-11-05 | fix(updater): stop update if connection unavailable | Marc Cornellà | |
2021-10-27 | fix(changelog): fix for `${(@ps:$sep:)var}` construct in zsh < 5.0.8 | Marc Cornellà | |
In recent zsh versions, `${(@ps:$sep:)var}` where $sep is a variable containing a separator string and $var is a string with multiple values separated by $sep, the `p` flag makes zsh correctly expand $sep before splitting $var. In versions older than 5.0.8, this doesn't happen, so we use `eval` to get the same effect. | |||
2021-10-26 | fix(changelog): fix percent escapes in `printf` calls | Marc Cornellà | |
2021-10-26 | perf(changelog): use regex-match instead of `sed` to parse commit subjects | Marc Cornellà | |
2021-10-26 | fix(changelog): go back to ignoring commits from merged branches | Marc Cornellà | |
2021-10-26 | perf(changelog): use a single `git log` command to get all commit messages | Marc Cornellà | |
2021-10-26 | fix(changelog): don't show more than 40 commits (#10345) | Marc Cornellà | |
Fixes #10345 | |||
2021-10-13 | feat(updater): add support for terminal hyperlinks | Marc Cornellà | |
2021-10-07 | Revert "fix(changelog): don't parse commits of ignored types" | Marc Cornellà | |
This reverts commit 63b7e5767d551b1d839888a7216f2bed01e8eb1f. | |||
2021-10-05 | fix(changelog): don't parse commits of ignored types | 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> |