summaryrefslogtreecommitdiff
path: root/tools/upgrade.sh
AgeCommit message (Collapse)Author
2021-11-16fix(install): fix backslash in `printf` when showing logo (#10422)Marc Cornellà
Fixes #10422
2021-10-13feat(updater): add support for terminal hyperlinksMarc 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-08-17fix(updater): fix reset ANSI escape code for resetting underline formatMarc Cornellà
2021-06-11fix(update): correct description of how changelog is displayed (#9943)Logicer
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à
2020-12-28fix(updater): don't pipe changelog to less when updatingMarc Cornellà
Fixes #9509
2020-12-12feat(updater): save version prior to updating so `omz changelog` just works™Marc Cornellà
Fixes #9505
2020-12-07fix(updater): don't show changelog when running unattended update (#9495)Marc Cornellà
Fixes #9495
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-09-09update: return git error code on failure (#9238)Lucas Larson
Fixes #9237
2020-08-17Underline links in install and update scriptMarc Cornellà
2020-06-28Modernize install and update banners (#9045)Larson Carter
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.
2019-11-21Fix non-POSIX conditional syntaxMarc Cornellà
Fixes #8416
2019-11-20Actions to take after repository migration is complete (#8394)Marc Cornellà
* Change project URL from robbyrussell to ohmyzsh org * Update git remote to use ohmyzsh org repository
2019-11-09upgrade: remove double whitespace in message (#7517)Quentin Dreyer
2019-10-21Set default git-config values known to fix repository issuesMarc Cornellà
- core.autocrlf=false -> #4069 - fsck.zeroPaddedFilemode -> #4963 Fixes #4069 Fixes #4963
2019-02-25Updating Oh My Zsh shop URLs (#7619)Robby Russell
* Updating Oh My Zsh shop URLs Linking directly to the Oh My Zsh inventory vs the top-level store with non-OMZ items. * Updating link to Oh My Zsh products in the install script * Updating link to Oh My Zsh shop products in the upgrade script * Getting rid of 't-' in shirts for now
2017-11-01Use HTTPS for Planet Argon links (#6326)Doug Yun
2015-12-15Use consistent wording when updatingRobin Hallabro
When the user is asked to update oh-my-zsh it says "[Oh My Zsh] Would you like to check for updates? [Y/n]:". When the user agreed to update the next text would say "Upgrading Oh My Zsh" which is inconsistent with the question.
2015-10-16Fix install.sh/upgrade.sh for tput-less systemsYannick Eckey
@fcrozat's original fix assumes `which` not to output anything to STDOUT in case the command is not found. That is not necessarily true on all systems. A better solution is to check the return value instead. Fixes #4376
2015-09-22also handle missing tput in upgrade script.Frederic Crozat
2015-09-03Merge changes from #4241 into installer-portable-colorsAndrew Janke
Conflicts: tools/install.sh tools/upgrade.sh
2015-08-27installer: switch twitter link to httpsAndrew Janke
2015-08-16Use https instead of httpFelix Krause
2015-07-06installer: use terminfo for portable escape sequencesAndrew Janke
Do not use terminal visual effects if not connected to a terminal.
2014-08-31Adding link to the store for swag in upgrade processRobby Russell
2013-11-22Add update statisticsValentin Shevko
After the upgrade is interesting to know what's new.
2013-06-25git-pull add --rebase optionUncleBill
2013-04-29eliminated unnecessary cd and failing substitutionMarcus Müller
Changing the working directory in a sub-subshell does not change the working directory of the executing shell. The substitution was broken for me on _all_ my machines, so I started looking into the business.
2013-04-12Merge pull request #1651 from deepusudhakar/masterRobby Russell
Escape $ZSH path in upgrade_oh_my_zsh
2013-04-09Escape spaces in folder name so script won't failGaurav Misra
If the current directory has spaces, the script fails to change paths and fails.
2013-03-10Escape /Users/desudhak/.oh-my-zsh path (previously broke spaces in path)Deepu Sudhakar
2012-01-15Don’t report that Oh My Zsh has been updated when it hasn’t.backspace
2011-11-16Use printf rather than echo -e in update.shRussell Harmon
update.sh is an "sh" script, not a zsh or bash script. On platforms which have real sh, echo does not have the -e option.
2011-08-01'echo' did not show colors without -e in upgrade.shIlya Chesnokov
2011-07-17Adding quotes to deal with paths that have spaces.Jake Bell
2011-06-04[upgrade] before init (no reload needed unless oh-my-zsh.sh has been modified)vguerci