summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2021-09-23style(installer): use rainbow logo and polish success message (#10211)Marc Cornellà
2021-09-22feat(update): allow updating from branch set up on installMarc Cornellà
Closes #8788 Co-authored-by: Nikolas Garofil <nikolas@garofil.be>
2021-09-16fix(update): silence `typeset` calls in `upgrade.sh` script (#10048)Marc Cornellà
Co-authored-by: yyny <6576327+yyny@users.noreply.github.com>
2021-09-07chore(changelog): fix first-letter uppercase in breaking change messagesMarc Cornellà
2021-09-07feat(changelog): print BREAKING CHANGE messages in a prettier wayMarc Cornellà
2021-09-06feat(changelog): change style of `BREAKING CHANGES` headerMarc Cornellà
2021-08-17fix(updater): fix reset ANSI escape code for resetting underline formatMarc Cornellà
2021-08-14fix(changelog): also display commits from merged branchesMarc Cornellà
2021-07-08fix(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-07feat(changelog): ignore merge commitsMarc Cornellà
2021-06-11fix(update): correct description of how changelog is displayed (#9943)Logicer
2021-04-06feat(theme_chooser): display non-zero exit code (#8428)Max Staff
Fixes #8427
2021-03-25fix: use `$USERNAME` guaranteed to always be defined in zshMarc Cornellà
Fixes #9701
2021-03-16refactor(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-15fix(uninstall): fix renaming .zshrc when no original rc file foundMarc Cornellà
Fixes #9629 Fixes #9700
2021-03-01fix(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-21fix(updater): refresh date of last update only on successful updateMarc Cornellà
2021-01-10fix(changelog): fix spacing in breaking changes messageMarc Cornellà
2021-01-05fix(changelog): display scope in breaking change messagesMarc Cornellà
2020-12-30fix(changelog): remove CR characters in breaking change messagesMarc Cornellà
The GitHub UI might not remove CR characters from commit description forms filled from a Windows browser.
2020-12-28fix(updater): don't pipe changelog to less when updatingMarc Cornellà
Fixes #9509
2020-12-12fix(changelog): allow breaking change message to span multiple linesMarc 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-12feat(updater): save version prior to updating so `omz changelog` just works™Marc Cornellà
Fixes #9505
2020-12-07fix(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.
2020-12-07fix(updater): don't show changelog when running unattended update (#9495)Marc Cornellà
Fixes #9495
2020-12-04fix(changelog): fix highlight of codeblocks in subjectMarc Cornellà
2020-12-04fix(updater): properly show changelog via `less`Marc Cornellà
2020-12-02fix(updater): fix ignored variable name in readMarc Cornellà
I used _ which is a convention in other languages, but in shell scripting $_ is a special variable set by the shell, and in Zsh versions older than 5.0.6 it complains for being a `read-only variable`. Fixes #9482
2020-12-01fix(updater): make sure to run it with zshMarc Cornellà
2020-11-30feat(updater): add changelog display by parsing the commit listMarc Cornellà
2020-11-30refactor(updater): switch to Zsh execution and fix git remote detection logicMarc Cornellà
2020-11-09fix(installer): fix error message if $ZSH exists when installingMarc Cornellà
Also prefix all formatting functions with fmt_ Related: #9427
2020-09-09update: return git error code on failure (#9238)Lucas Larson
Fixes #9237
2020-08-20docs: document oneline argument passing to install scriptMarc Cornellà
2020-08-20docs: add fetch install command for FreeBSD (#9172)Adam G. Emerson
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-08-17Underline links in install and update scriptMarc Cornellà
2020-07-13update: 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-07-01install: fix typo (#9069)Alex Zdanowicz
Changing 'your' to 'you'
2020-06-28Modernize install and update banners (#9045)Larson Carter
2020-06-28update: change dash in function name for sh compat (fixes #9064)Marc Cornellà
2020-06-28update: only update on a valid affirmative input (#9062)alexagnelli
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-06-09update: refactor and fix logic in check_for_upgrade.sh (#8939)Marc Cornellà
2020-05-19update: fix bug in upgrade.sh: s/NORMAL/RESET/ (#8947)Roman Perepelitsa
2020-05-18update: display logo in rainbow colors (#8941)Marc Cornellà
2020-03-11updater: use hardcoded color sequences instead of tputMarc Cornellà
2020-03-11updater: use `git config` instead of `git -c` for git < v1.7.2Marc Cornellà
Fixes #8732
2020-02-29updater: fix --autostash argument. Works for git > 1.7.1Marc Cornellà
See https://github.com/ohmyzsh/ohmyzsh/pull/7172#issuecomment-592875226
2020-02-27updater: add --autostash to git pull (#7172)Mauricio Wolff
If I have custom configs (like theme customizations) I have to stash my changes and get them back after the update. By adding the --autostash on upgrade.sh, if I have any changes not commited they'll be reapplied after the upgrade, allowing me to have temporary customizations without any harm to the upgrade process.
2020-02-25installer: add option to install without replacing .zshrc (#8209)Michael Dorst
* Add option to install OMZ without replacing .zshrc tools/install.sh respects REPLACE_RC environment variable --noreplace-rc flag sets REPLACE_RC='no' * Change REPLACE_RC=no to KEEP_ZSHRC=yes Change --noreplace-rc to --keep-zshrc
2020-02-24installer: remove redundant cp command (#8668)Jonathan Chang