HeroCC
6a1b8320fe
No input for Update Check defaults to Yes
11 years ago
Mark Feltner
83553597a1
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
11 years ago
Moinak Ghosh
3a39732845
Change to epoch target in days instead of seconds.
12 years ago
Moinak Ghosh
90762eee49
Convert epoch_target from days to seconds.
12 years ago
Moinak Ghosh
5f38a537ce
Update Solaris changes to use OSTYPE and zsh datetime module.
12 years ago
Fredrik Fornwall
dac2a6e27a
Replace /usr/bin/env with env
...
Some environments (such as Android) does not have /usr/bin.
12 years ago
Moinak Ghosh
5e328e3a9c
Solaris portability tweaks.
12 years ago
n.st
a9e1d9aa89
Cancel upgrade if $ZSH is not writable
...
from #2360
12 years ago
Mark Feltner
8d976e02b1
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
12 years ago
Adam Luikart
9590b96b3f
Write the update file even if `CLOBBER` is unset.
12 years ago
Robby Russell
a38af27991
Revert "Cancel update if the current user doesn't have write permissions for the oh-my-zsh directory."
...
This reverts commit 152e1e07e0 .
12 years ago
n.st
152e1e07e0
Cancel update if the current user doesn't have write permissions for the oh-my-zsh directory.
12 years ago
Patrick Stadler
858c515df2
source ~/.profile only if it exists
12 years ago
Gaetan Semet
3f44f51e9c
source ~/.profile for upgrading (to source the proxy configuration)
...
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
13 years ago
Eric Danielson
200a25818a
Add UPDATE_ZSH_DAYS setting
14 years ago
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
14 years ago
Robby Russell
91b4758d8f
Now with 50% less auto-updates.
14 years ago
Graham McMillan
4173ba1e95
Added option to disable the update prompt. Set DISABLE_UPDATE_PROMPT to true to enable.
15 years ago
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.
15 years ago
nebirhos
626fa5b1d8
fixed autoupdate
15 years ago
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.
15 years ago
Robby Russell
41f13ccb0a
Updating check_for_upgrade script to fix issue when the LAST_EPOCH file/value got corrupted. Closes #32
17 years ago
Gerhard Lazu
fafa15676a
Replaced source with .
17 years ago
Robby Russell
700a3f0bad
Adding a script to check for upgrades
17 years ago