n.st
b6cc99761d
Cancel upgrade if $ZSH is not writable
...
from #2360
2014-11-28 14:37:07 +01:00
Mark Feltner
6a33c0f117
fix(tools/check_for_upgrade): Don't source profile
...
Reverts #2296 , but mostly #1883 .
There is no need to source ~/.profile when this script is read. oh-my-zsh writes no configuration data in ~/.profile.
If the user wishes to use data within ~/.profile, then they should source it in another place.
Fixes #2315
2014-11-28 14:37:02 +01:00
Adam Luikart
c4ed8b42da
Write the update file even if CLOBBER is unset.
2014-11-28 14:37:02 +01:00
Robby Russell
2a797b9266
Revert "Cancel update if the current user doesn't have write permissions for the oh-my-zsh directory."
...
This reverts commit 152e1e07e0 .
2014-11-28 14:36:23 +01:00
n.st
7a3f26da1c
Cancel update if the current user doesn't have write permissions for the oh-my-zsh directory.
2014-11-28 14:36:23 +01:00
Patrick Stadler
69c8654e12
source ~/.profile only if it exists
2014-11-28 14:36:23 +01:00
Gaetan Semet
ce7254f35a
source ~/.profile for upgrading (to source the proxy configuration)
...
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2014-11-28 14:36:04 +01:00
Eric Danielson
200a25818a
Add UPDATE_ZSH_DAYS setting
2012-11-26 11:35:16 -08:00
Robby Russell
1c23a52f57
auto-upadate feature will now reset the epoch so that if a user doesn't say yes, it won't ask them again for a while. fixes #1240
2012-07-20 15:07:51 -07:00
Robby Russell
91b4758d8f
Now with 50% less auto-updates.
2012-05-31 09:52:53 -07:00
Graham McMillan
4173ba1e95
Added option to disable the update prompt. Set DISABLE_UPDATE_PROMPT to true to enable.
2011-11-15 13:46:14 -05:00
Tim Taylor
c113e88c45
Fix auto upgrade failure from non-exported ZSH env var
...
Fixes #549 . Specify ZSH=$ZSH explicitly when invoking
the auto update scripts.
2011-08-17 00:36:27 -04:00
nebirhos
626fa5b1d8
fixed autoupdate
2011-04-29 17:12:40 +02:00
Christopher Chow
cc90e3aa06
Fixed auto update.
...
Paramater substitution instead of command subsitution was being used
causing the calculation of time since last check to be incorrect.
2011-02-04 11:33:20 +11:00
Robby Russell
41f13ccb0a
Updating check_for_upgrade script to fix issue when the LAST_EPOCH file/value got corrupted. Closes #32
2009-12-12 13:45:30 -08:00
Gerhard Lazu
fafa15676a
Replaced source with .
2009-10-11 09:50:08 +01:00
Robby Russell
700a3f0bad
Adding a script to check for upgrades
2009-09-23 17:11:45 -07:00