mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	Merge pull request #3412 from mcornella/feltnerm-patch-1
Disable sourcing .profile when checking for available updates
This commit is contained in:
		@@ -22,8 +22,6 @@ if [[ -z "$epoch_target" ]]; then
 | 
			
		||||
  epoch_target=13
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
[ -f ~/.profile ] && source ~/.profile
 | 
			
		||||
 | 
			
		||||
# Cancel upgrade if the current user doesn't have write permissions for the
 | 
			
		||||
# oh-my-zsh directory.
 | 
			
		||||
[[ -w "$ZSH" ]] || return 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user