Age | Commit message (Collapse) | Author | |
---|---|---|---|
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> | |||
2021-10-04 | refactor(updater): change auto-update settings to use `zstyle` | Marc Cornellà | |
2021-09-23 | style(installer): use rainbow logo and polish success message (#10211) | Marc Cornellà | |
2021-09-22 | feat(update): allow updating from branch set up on install | Marc Cornellà | |
Closes #8788 Co-authored-by: Nikolas Garofil <nikolas@garofil.be> | |||
2021-09-16 | fix(update): silence `typeset` calls in `upgrade.sh` script (#10048) | Marc Cornellà | |
Co-authored-by: yyny <6576327+yyny@users.noreply.github.com> | |||
2021-09-07 | chore(changelog): fix first-letter uppercase in breaking change messages | Marc Cornellà | |
2021-09-07 | feat(changelog): print BREAKING CHANGE messages in a prettier way | Marc Cornellà | |
2021-09-06 | feat(changelog): change style of `BREAKING CHANGES` header | Marc Cornellà | |
2021-08-17 | fix(updater): fix reset ANSI escape code for resetting underline format | Marc Cornellà | |
2021-08-14 | fix(changelog): also display commits from merged branches | 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-07-07 | feat(changelog): ignore merge commits | Marc Cornellà | |
2021-06-11 | fix(update): correct description of how changelog is displayed (#9943) | Logicer | |
2021-04-06 | feat(theme_chooser): display non-zero exit code (#8428) | Max Staff | |
Fixes #8427 | |||
2021-03-25 | fix: use `$USERNAME` guaranteed to always be defined in zsh | Marc Cornellà | |
Fixes #9701 | |||
2021-03-16 | refactor(installer): fix static analysis warnings (#9529) | Léa Gris | |
* refactor(install.sh): fix static analysis warnings Clear all warnings and errors raised by shellcheck.net static analysis. - Replace non-POSIX shell use of `$OSTYPE` by POSIX compliant check on `uname -o`. - Move variables out of`printf` format string. - Refactor/simplify string formatters for error and underline. - Fix expansion of arguments to a single string `$*` rather than individual elements `$@` within the error and underline formatters. * fix(uname): non-posix -o option * fix(install.sh): non portable which Replaced non-portable `which zsh` by portable `command -v zsh` | |||
2021-03-15 | fix(uninstall): fix renaming .zshrc when no original rc file found | Marc Cornellà | |
Fixes #9629 Fixes #9700 | |||
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à | |
2021-01-10 | fix(changelog): fix spacing in breaking changes message | Marc Cornellà | |
2021-01-05 | fix(changelog): display scope in breaking change messages | Marc Cornellà | |
2020-12-30 | fix(changelog): remove CR characters in breaking change messages | Marc Cornellà | |
The GitHub UI might not remove CR characters from commit description forms filled from a Windows browser. | |||
2020-12-28 | fix(updater): don't pipe changelog to less when updating | Marc Cornellà | |
Fixes #9509 | |||
2020-12-12 | fix(changelog): allow breaking change message to span multiple lines | Marc Cornellà | |
This also allows the option to put extra paragraphs after the BREAKING CHANGE message while properly displaying the breaking change message. Useful, for example, to add signed-off or co-authored lines. | |||
2020-12-12 | feat(updater): save version prior to updating so `omz changelog` just works™ | Marc Cornellà | |
Fixes #9505 | |||
2020-12-07 | fix(changelog): fix assoc array syntax for zsh 5.4.2 and older (#9495) | Marc Cornellà | |
Also fixed a call to a defunct display:type-header function in displaying breaking changes. |