Logicer
270db70805
fix(update): correct description of how changelog is displayed ( #9943 )
5 years ago
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>
5 years ago
Marc Cornellà
d978f385e5
fix(updater): refresh date of last update only on successful update
5 years ago
Marc Cornellà
4b2431e8b1
fix(updater): don't pipe changelog to less when updating
...
Fixes #9509
6 years ago
Marc Cornellà
e8e37eedbc
feat(updater): save version prior to updating so `omz changelog` just works™
...
Fixes #9505
6 years ago
Marc Cornellà
5a888ff4ac
fix(updater): don't show changelog when running unattended update ( #9495 )
...
Fixes #9495
6 years ago
Marc Cornellà
81bbe86db0
fix(updater): properly show changelog via `less`
6 years ago
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
6 years ago
Marc Cornellà
021f0251e0
fix(updater): make sure to run it with zsh
6 years ago
Marc Cornellà
eeab4e5186
feat(updater): add changelog display by parsing the commit list
6 years ago
Marc Cornellà
889cd7acf3
refactor(updater): switch to Zsh execution and fix git remote detection logic
6 years ago
Lucas Larson
a55a30ec39
update: return git error code on failure ( #9238 )
...
Fixes #9237
6 years ago
Marc Cornellà
613045e7e5
Underline links in install and update script
6 years ago
Larson Carter
ce28ac42c8
Modernize install and update banners ( #9045 )
6 years ago
Roman Perepelitsa
f7bf566555
update: fix bug in upgrade.sh: s/NORMAL/RESET/ ( #8947 )
6 years ago
Marc Cornellà
29eddb6613
update: display logo in rainbow colors ( #8941 )
6 years ago
Marc Cornellà
27f4e07932
updater: use hardcoded color sequences instead of tput
6 years ago
Marc Cornellà
6ba2d9de3d
updater: use `git config` instead of `git -c` for git < v1.7.2
...
Fixes #8732
6 years ago
Marc Cornellà
14b4f62e65
updater: fix --autostash argument. Works for git > 1.7.1
...
See https://github.com/ohmyzsh/ohmyzsh/pull/7172#issuecomment-592875226
6 years ago
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.
6 years ago
Marc Cornellà
3cc1fa4046
Fix non-POSIX conditional syntax
...
Fixes #8416
7 years ago
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
7 years ago
Quentin Dreyer
8b6b2ea07e
upgrade: remove double whitespace in message ( #7517 )
7 years ago
Marc Cornellà
534ec60bfd
Set default git-config values known to fix repository issues
...
- core.autocrlf=false -> #4069
- fsck.zeroPaddedFilemode -> #4963
Fixes #4069
Fixes #4963
7 years ago
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
7 years ago
Doug Yun
2526d71c56
Use HTTPS for Planet Argon links ( #6326 )
9 years ago
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.
11 years ago
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
11 years ago
Frederic Crozat
95296bb0c5
also handle missing tput in upgrade script.
11 years ago
Andrew Janke
fe92ea98e0
installer: switch twitter link to https
11 years ago
Felix Krause
de47e2df69
Use https instead of http
11 years ago
Andrew Janke
8cf610089d
installer: use terminfo for portable escape sequences
...
Do not use terminal visual effects if not connected to a terminal.
11 years ago
Robby Russell
9f8d7d85c2
Adding link to the store for swag in upgrade process
12 years ago
Valentin Shevko
7c56364dc4
Add update statistics
...
After the upgrade is interesting to know what's new.
13 years ago
UncleBill
87a1d8a02d
git-pull add --rebase option
13 years ago
Marcus Müller
39b46f526c
eliminated unnecessary cd and failing substitution
...
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.
13 years ago
Gaurav Misra
32a42f27b6
Escape spaces in folder name so script won't fail
...
If the current directory has spaces, the script fails to change paths and fails.
13 years ago
Deepu Sudhakar
9991401aaa
Escape /Users/desudhak/.oh-my-zsh path (previously broke spaces in path)
13 years ago
backspace
0d99759cc3
Don’t report that Oh My Zsh has been updated when it hasn’t.
15 years ago
Russell Harmon
7ec2dd984a
Use printf rather than echo -e in update.sh
...
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.
15 years ago
Ilya Chesnokov
b160ee6512
'echo' did not show colors without -e in upgrade.sh
15 years ago
Jake Bell
edcd4f7eea
Adding quotes to deal with paths that have spaces.
15 years ago
vguerci
7c9474508c
[upgrade] before init (no reload needed unless oh-my-zsh.sh has been modified)
15 years ago
Andrew Hodges
0c41b1cdc3
Colorize Install & Upgrade Scripts
...
Make tools/install.sh and tools/upgrade.sh pretty.
15 years ago
Robby Russell
59bfd87e08
Adding some candy to the upgrade script
16 years ago
Robby Russell
5a3bde78d8
Sprinkling some candy on this muffin.
16 years ago
Robby Russell
00a190bc01
Oh My Zsh gets a weekly auto-updater... the future is now!
17 years ago
Robby Russell
1ec8a8848e
Adding an upgrade_oh_my_zsh function to... well, upgrade Oh My Zsh
17 years ago