linsilence
2a8b3aa2d4
add remote upstream
2022-05-25 11:47:41 +08:00
linsilence
924537d7b6
merge from upstream # 39b600e9
2022-05-24 17:29:21 +08: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
linsilence
ee5e9cb2a9
Merge branch 'master' of https://github.com/snakewarhead/oh-my-zsh
2020-08-21 22:39:51 +08:00
linsilence
6ef2a7ddee
merge from upstream
2020-08-21 22:38:56 +08: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
root
f904b33dd8
merge from upstream
2020-02-21 01:29:32 -05: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
lin
dfb40164cc
disable reset .zshrc when upgrade
2019-11-02 15:48:43 +08: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
linsilence
781b49330d
replace .zshrc when upgrade 2
2019-07-03 12:07:26 +08:00
linsilence
305acdb755
disable replace .zshrc when upgrading
2019-06-15 11:13:40 +08:00
linsilence
556d535921
fix
2019-06-10 19:28:41 +08:00
linsilence
a5f8fc27c9
update .zshrc when upgrade
2019-06-10 19:22:10 +08:00
linsilence
c65a06ffb0
chmod +x
2019-06-10 19:03:54 +08: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