Marc Cornellà
6ef236dd99
fix(updater): search for upstream remote if using non-conventional name ( #11135 )
...
Fixes #11135
2023-04-01 10:15:59 +02:00
Carlo Sala
029a6d2de8
fix(upgrade): typo in variable check
2023-03-31 15:30:19 +02:00
Håvard Bartnes
8f6fbe2389
feat(upgrade): add verbosity settings
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
Closes #11574
Closes #11579
2023-03-28 12:58:33 +02:00
Marc Cornellà
ee4910e3b3
fix: show full hyperlinks in Konsole ( #10964 )
...
Fixes #10964
2022-10-12 10:55:02 +02:00
Marc Cornellà
f80cf12092
fix: fix OSC 8 hyperlink escape sequences
2022-10-12 10:49:44 +02:00
thinszx
4a988c4660
fix(updater): change remote using deprecated git:
protocol ( #10779 )
2022-03-17 12:54:47 +01:00
Marc Cornellà
fc40b53e64
style(updater): silence git pull
output and show errors in English
2022-01-24 18:32:36 +01:00
Marc Cornellà
bddecfed58
style(updater): remove statl from git pull
2022-01-13 12:34:10 +01:00
Marc Cornellà
fbdc078fa6
style: use 24bit colors in Oh My Zsh logo if supported
2022-01-09 23:11:35 +01:00
Marc Cornellà
fb12e41353
fix(install): fix backslash in printf
when showing logo ( #10422 )
...
Fixes #10422
2021-11-16 19:24:32 +01:00
Marc Cornellà
19f9b6f1ad
feat(updater): add support for terminal hyperlinks
2021-10-13 11:58:56 +02:00
Marc Cornellà
098bcda691
feat(update): allow updating from branch set up on install
...
Closes #8788
Co-authored-by: Nikolas Garofil <nikolas@garofil.be>
2021-09-22 09:27:43 +02:00
Marc Cornellà
b79726b1c3
fix(update): silence typeset
calls in upgrade.sh
script ( #10048 )
...
Co-authored-by: yyny <6576327+yyny@users.noreply.github.com>
2021-09-16 17:01:58 +02:00
Marc Cornellà
ad1837859b
fix(updater): fix reset ANSI escape code for resetting underline format
2021-08-17 16:35:42 +02:00
Logicer
270db70805
fix(update): correct description of how changelog is displayed ( #9943 )
2021-06-11 20:03:21 -07:00
Cai Cooper
6fbad5bf72
fix(update): don't error on upgrade no-op ( #9685 )
...
* 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-03-01 08:17:54 +01:00
Marc Cornellà
d978f385e5
fix(updater): refresh date of last update only on successful update
2021-01-21 11:52:09 +01:00
Marc Cornellà
4b2431e8b1
fix(updater): don't pipe changelog to less when updating
...
Fixes #9509
2020-12-28 19:40:03 +01:00
Marc Cornellà
e8e37eedbc
feat(updater): save version prior to updating so omz changelog
just works™
...
Fixes #9505
2020-12-12 13:50:53 +01:00
Marc Cornellà
5a888ff4ac
fix(updater): don't show changelog when running unattended update ( #9495 )
...
Fixes #9495
2020-12-07 20:58:12 +01:00
Marc Cornellà
81bbe86db0
fix(updater): properly show changelog via less
2020-12-04 12:33:36 +01:00
Marc Cornellà
3f8af040e9
fix(updater): fix ignored variable name in read
...
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-02 11:57:37 +01:00
Marc Cornellà
021f0251e0
fix(updater): make sure to run it with zsh
2020-12-01 11:12:31 +01:00
Marc Cornellà
eeab4e5186
feat(updater): add changelog display by parsing the commit list
2020-11-30 15:48:46 +01:00
Marc Cornellà
889cd7acf3
refactor(updater): switch to Zsh execution and fix git remote detection logic
2020-11-30 15:48:46 +01:00
Lucas Larson
a55a30ec39
update: return git error code on failure ( #9238 )
...
Fixes #9237
2020-09-09 11:07:46 +02:00
Marc Cornellà
613045e7e5
Underline links in install and update script
2020-08-17 21:47:39 +02:00
Larson Carter
ce28ac42c8
Modernize install and update banners ( #9045 )
2020-06-28 22:06:13 +02:00
Roman Perepelitsa
f7bf566555
update: fix bug in upgrade.sh: s/NORMAL/RESET/ ( #8947 )
2020-05-19 14:47:30 +02:00
Marc Cornellà
29eddb6613
update: display logo in rainbow colors ( #8941 )
2020-05-18 11:23:28 +02:00
Marc Cornellà
27f4e07932
updater: use hardcoded color sequences instead of tput
2020-03-11 14:28:37 +01:00
Marc Cornellà
6ba2d9de3d
updater: use git config
instead of git -c
for git < v1.7.2
...
Fixes #8732
2020-03-11 14:28:15 +01:00
Marc Cornellà
14b4f62e65
updater: fix --autostash argument. Works for git > 1.7.1
...
See https://github.com/ohmyzsh/ohmyzsh/pull/7172#issuecomment-592875226
2020-02-29 14:53:06 +01:00
Mauricio Wolff
bccfe1389c
updater: add --autostash to git pull ( #7172 )
...
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-27 17:06:20 +01:00
Marc Cornellà
3cc1fa4046
Fix non-POSIX conditional syntax
...
Fixes #8416
2019-11-21 19:10:30 +01:00
Marc Cornellà
b80b1a1e8b
Actions to take after repository migration is complete ( #8394 )
...
* Change project URL from robbyrussell to ohmyzsh org
* Update git remote to use ohmyzsh org repository
2019-11-20 17:26:18 -08:00
Quentin Dreyer
8b6b2ea07e
upgrade: remove double whitespace in message ( #7517 )
2019-11-09 12:49:17 +01:00
Marc Cornellà
534ec60bfd
Set default git-config values known to fix repository issues
...
- core.autocrlf=false -> #4069
- fsck.zeroPaddedFilemode -> #4963
Fixes #4069
Fixes #4963
2019-10-21 17:00:04 +02:00
Robby Russell
f319aa845d
Updating Oh My Zsh shop URLs ( #7619 )
...
* 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
2019-02-25 19:22:07 -06:00
Doug Yun
2526d71c56
Use HTTPS for Planet Argon links ( #6326 )
2017-11-01 06:21:07 -07:00
Robin Hallabro
18ca953f12
Use consistent wording when updating
...
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-12-15 03:46:46 +01:00
Yannick Eckey
75e619b724
Fix install.sh/upgrade.sh for tput-less systems
...
@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-10-16 22:27:46 +02:00
Frederic Crozat
95296bb0c5
also handle missing tput in upgrade script.
2015-09-22 16:46:22 +02:00
Andrew Janke
82c76f6b5c
Merge changes from #4241 into installer-portable-colors
...
Conflicts:
tools/install.sh
tools/upgrade.sh
2015-09-03 12:50:55 -04:00
Andrew Janke
fe92ea98e0
installer: switch twitter link to https
2015-08-27 17:17:43 -04:00
Felix Krause
de47e2df69
Use https instead of http
2015-08-16 19:29:58 +02:00
Andrew Janke
8cf610089d
installer: use terminfo for portable escape sequences
...
Do not use terminal visual effects if not connected to a terminal.
2015-07-06 20:18:32 -04:00
Robby Russell
9f8d7d85c2
Adding link to the store for swag in upgrade process
2014-08-31 11:30:30 -07:00
Valentin Shevko
7c56364dc4
Add update statistics
...
After the upgrade is interesting to know what's new.
2013-11-22 02:34:33 +03:00
UncleBill
87a1d8a02d
git-pull add --rebase option
2013-06-25 12:08:02 +08:00