Lucas Larson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a55a30ec39 
							
						 
					 
					
						
						
							
							update: return git error code on failure ( #9238 )  
						
						 
						
						... 
						
						
						
						Fixes  #9237  
						
						
					 
					
						2020-09-09 11:07:46 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							03b6a72576 
							
						 
					 
					
						
						
							
							docs: document oneline argument passing to install script  
						
						 
						
						
						
						
					 
					
						2020-08-20 11:28:10 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adam G. Emerson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							93f8c0686c 
							
						 
					 
					
						
						
							
							docs: add fetch install command for FreeBSD ( #9172 )  
						
						 
						
						... 
						
						
						
						Co-authored-by: Marc Cornellà <marc.cornella@live.com> 
						
						
					 
					
						2020-08-20 11:26:39 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							613045e7e5 
							
						 
					 
					
						
						
							
							Underline links in install and update script  
						
						 
						
						
						
						
					 
					
						2020-08-17 21:47:39 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								M. Yas. Davoodeh 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5c1a5c6ce9 
							
						 
					 
					
						
						
							
							update: prefix rm call with command in trap ( #9107 )  
						
						 
						
						... 
						
						
						
						* 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-13 11:52:28 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Zdanowicz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							232cb19859 
							
						 
					 
					
						
						
							
							install: fix typo ( #9069 )  
						
						 
						
						... 
						
						
						
						Changing 'your' to 'you' 
						
						
					 
					
						2020-07-01 15:44:14 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Larson Carter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ce28ac42c8 
							
						 
					 
					
						
						
							
							Modernize install and update banners ( #9045 )  
						
						 
						
						
						
						
					 
					
						2020-06-28 22:06:13 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							97cf0bf4bd 
							
						 
					 
					
						
						
							
							update: change dash in function name for sh compat ( fixes   #9064 )  
						
						 
						
						
						
						
					 
					
						2020-06-28 18:54:59 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alexagnelli 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							48b98b957e 
							
						 
					 
					
						
						
							
							update: only update on a valid affirmative input ( #9062 )  
						
						 
						
						... 
						
						
						
						Co-authored-by: Marc Cornellà <marc.cornella@live.com> 
						
						
					 
					
						2020-06-28 18:34:02 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3c777ebf1b 
							
						 
					 
					
						
						
							
							update: refactor and fix logic in check_for_upgrade.sh ( #8939 )  
						
						 
						
						
						
						
					 
					
						2020-06-09 19:38:08 +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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Dorst 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1a880fdb9b 
							
						 
					 
					
						
						
							
							installer: add option to install without replacing .zshrc ( #8209 )  
						
						 
						
						... 
						
						
						
						* 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-25 22:42:39 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonathan Chang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0e57142729 
							
						 
					 
					
						
						
							
							installer: remove redundant cp command ( #8668 )  
						
						 
						
						
						
						
					 
					
						2020-02-24 20:39:10 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Giuseppe 
							
						 
					 
					
						
						
						
						
							
						
						
							4deafdff96 
							
						 
					 
					
						
						
							
							Fix change to old shell on uninstall ( #8430 )  
						
						 
						
						... 
						
						
						
						If there's no `~/.shell.pre-oh-my-zsh`, don't assume the default choice
is Bash.  In fact Zsh is the default shell for macOS since Catalina
(10.15) [1], yet users of other OSes have likely to have Bash as their
default.
This commit fix issue #8252 
[1] https://support.apple.com/en-us/HT208050  
						
						
					 
					
						2019-11-25 16:36:33 +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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							fd4571d1b0 
							
						 
					 
					
						
						
							
							installer: allow chsh to work in termux  
						
						 
						
						
						
						
					 
					
						2019-09-08 21:35:45 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							702a594df3 
							
						 
					 
					
						
						
							
							installer: don't rely on tput for coloring  
						
						 
						
						... 
						
						
						
						tput is error-prone and may not be needed, since all the formatting
codes used are standard across all types of terminals. 
						
						
					 
					
						2019-06-09 16:33:06 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							b944fee6ea 
							
						 
					 
					
						
						
							
							installer: ask user about changing the shell to zsh  
						
						 
						
						
						
						
					 
					
						2019-06-03 17:18:25 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							0824dcc9fb 
							
						 
					 
					
						
						
							
							installer: allow for tput errors  
						
						 
						
						... 
						
						
						
						tput may throw errors on invalid $TERM values, for example.
This shorthand syntax allows for that as well as for if tput
doesn't exist. 
						
						
					 
					
						2019-06-03 17:18:25 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zach Whitten 
							
						 
					 
					
						
						
						
						
							
						
						
							2e54ba2dfb 
							
						 
					 
					
						
						
							
							installer: restore previous default shell with uninstall  
						
						 
						
						... 
						
						
						
						Co-authored-by: Antonio QUINTAVALLE <antonio.quintavalle@amadeus.com>
Co-authored-by: Marc Cornellà <marc.cornella@live.com> 
						
						
					 
					
						2019-06-03 17:18:25 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							66d6d08841 
							
						 
					 
					
						
						
							
							installer: improve message formatting and color  
						
						 
						
						
						
						
					 
					
						2019-06-03 17:18:25 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							b931d6a9db 
							
						 
					 
					
						
						
							
							installer: change to --unattended argument and add docs  
						
						 
						
						
						
						
					 
					
						2019-06-03 17:18:25 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							065844fdc0 
							
						 
					 
					
						
						
							
							installer: comment changes  
						
						 
						
						
						
						
					 
					
						2019-06-03 17:18:25 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							1cf42a506f 
							
						 
					 
					
						
						
							
							installer: add option to not run zsh at the end  
						
						 
						
						... 
						
						
						
						Co-authored-by: Liquidsoul <liquidsoul@liquidsoul.fr>
Co-authored-by: Alexander Polynomdivision <digitalmail555@googlemail.com>
Co-authored-by: loket <loket@cruftlab.io>
Co-authored-by: Connor Demille <subtlepseudonym@gmail.com> 
						
						
					 
					
						2019-06-03 17:18:25 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							a40d93295f 
							
						 
					 
					
						
						
							
							installer: don't run zsh at the end  
						
						 
						
						... 
						
						
						
						Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com> 
						
						
					 
					
						2019-06-03 17:18:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							794ff4a62d 
							
						 
					 
					
						
						
							
							installer: add ability to skip the default shell change  
						
						 
						
						... 
						
						
						
						Co-authored-by: Marshall Ford <inbox@marshallford.me>
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com> 
						
						
					 
					
						2019-06-03 17:18:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Janke 
							
						 
					 
					
						
						
						
						
							
						
						
							43b3126b5c 
							
						 
					 
					
						
						
							
							installer: use timestamped backups to preserve all old zshrcs  
						
						 
						
						
						
						
					 
					
						2019-06-03 17:18:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							153f5e11ed 
							
						 
					 
					
						
						
							
							installer: use default color sequences on missing tput  
						
						 
						
						... 
						
						
						
						Supposed to be POSIX-compatible. Proved to work in dash, yash and whatever
alpine uses. See https://unix.stackexchange.com/a/371873  
						
						
					 
					
						2019-06-03 17:18:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							220d69b2ce 
							
						 
					 
					
						
						
							
							installer: allow configuration of remote URL to clone from  
						
						 
						
						
						
						
					 
					
						2019-06-03 17:18:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Janke 
							
						 
					 
					
						
						
						
						
							
						
						
							aa27430e10 
							
						 
					 
					
						
						
							
							installer: add ability to install from forked & branched repos  
						
						 
						
						... 
						
						
						
						This facilitates testing of changes to the core installation code: you'll be
able to do a roundtrip test of install and uninstall using the working code on
your branch.
Controlled by passing $REPO and $BRANCH environment variables to install.sh. 
						
						
					 
					
						2019-06-03 17:18:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							a6a093ba2a 
							
						 
					 
					
						
						
							
							installer: improve zsh binary path search in setup_shell  
						
						 
						
						... 
						
						
						
						This changes the behavior to default to the binary found first in $PATH,
then checking it's actually in the shells file (/etc/shells).
If that fails go back to the previous behavior, but actually check that
the path obtained exists in the filesystem.
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com> 
						
						
					 
					
						2019-06-03 17:18:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fran 
							
						 
					 
					
						
						
						
						
							
						
						
							9d2b3ce79f 
							
						 
					 
					
						
						
							
							installer: fix for Solus OS and systems with no /etc/shells  
						
						 
						
						... 
						
						
						
						Co-authored-by: Fredrik Fornwall <fredrik@fornwall.net> 
						
						
					 
					
						2019-06-03 17:18:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							62216aaa8f 
							
						 
					 
					
						
						
							
							installer: use guard clauses in setup_shell for better readability  
						
						 
						
						... 
						
						
						
						Guard clauses are if constructs that return early if there is an error
that prevents continuing. This way there isn't a big nesting of if
expressions. 
						
						
					 
					
						2019-06-03 17:18:23 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Raf Czlonka 
							
						 
					 
					
						
						
						
						
							
						
						
							8e10ac4d73 
							
						 
					 
					
						
						
							
							installer: make sure shell in /etc/shells is not commented  
						
						 
						
						... 
						
						
						
						Otherwise we risk a situation where a full path to `zsh` is commented, i.e.:
    #/usr/local/bin/zsh 
						
						
					 
					
						2019-06-03 17:18:23 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luca S 
							
						 
					 
					
						
						
						
						
							
						
						
							73f29087f9 
							
						 
					 
					
						
						
							
							installer: replace the current shell with the new ZSH instance  
						
						 
						
						... 
						
						
						
						This replaces the currently running process with the new one using `exec`
instead of creating a new process. This way, when the user `exit`s out of
the new shell it will not pop them back into the shell from which ohmyzsh
was installed from. 
						
						
					 
					
						2019-06-03 17:18:23 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							1fdd5351fb 
							
						 
					 
					
						
						
							
							installer: abstract error messages  
						
						 
						
						
						
						
					 
					
						2019-06-03 17:18:23 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							576499a5ad 
							
						 
					 
					
						
						
							
							installer: fix for failed chsh quitting the installation  
						
						 
						
						
						
						
					 
					
						2019-06-03 17:18:23 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							a7bd1f99ae 
							
						 
					 
					
						
						
							
							installer: extract most code into functions  
						
						 
						
						
						
						
					 
					
						2019-06-03 17:18:23 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							f94443925d 
							
						 
					 
					
						
						
							
							installer: reorganise and add comments  
						
						 
						
						
						
						
					 
					
						2019-06-03 17:18:23 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							73ef051aae 
							
						 
					 
					
						
						
							
							installer: use tabs to allow future heredocs  
						
						 
						
						... 
						
						
						
						This will allow us to use tab stripping heredocs with `<<-'.
See http://www.tldp.org/LDP/abs/html/here-docs.html#EX71A 
Add editorconfig file to enforce this style.
See http://editorconfig.org  for more information. 
						
						
					 
					
						2019-06-03 17:18:22 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc Cornellà 
							
						 
					 
					
						
						
						
						
							
						
						
							9a832cccef 
							
						 
					 
					
						
						
							
							installer: use exit-on-error from the beginning  
						
						 
						
						
						
						
					 
					
						2019-06-03 17:18:22 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Guillermo Azurdia 
							
						 
					 
					
						
						
						
						
							
						
						
							9b2410fbcf 
							
						 
					 
					
						
						
							
							Remove dots from installer URLs ( #7780 )  
						
						 
						
						
						
						
					 
					
						2019-04-18 23:08:07 +02:00