52 Commits (71e6d5fde87be76205e87eed2e1a306a2f3bc5a8)

Author SHA1 Message Date
Nick Aldwin c66fc00401
feat(updater): show command to update when update skipped (#10465) 5 years ago
Marc Cornellà 2b96b7c54b
fix(updater): stop update if `$ZSH` is not a git repository (#10448) 5 years ago
Marc Cornellà e3f7b8aa57
fix(updater): avoid `git -C` for compatibility with git < v1.8.5 (#10404) 5 years ago
Marc Cornellà db19589fcf
refactor(updater): simplify check for available updates 5 years ago
Marc Cornellà 7a2cb10625
fix(updater): stop update if connection unavailable 5 years ago
Marc Cornellà 30d441713c
feat(updater): check if there are updates before prompting (#8387) 5 years ago
Marc Cornellà 0120749a54
feat(updater): add mode to only remind you to update when it's time (#10187) 5 years ago
Marc Cornellà 3c9743313c
refactor(updater): change auto-update settings to use `zstyle` 5 years ago
Marc Cornellà 36f444ed73
fix(update): fix error exit code on update check (#10033) 5 years ago
Cai Cooper 6fbad5bf72
fix(update): don't error on upgrade no-op (#9685) 5 years ago
Marc Cornellà d978f385e5 fix(updater): refresh date of last update only on successful update 5 years ago
Marc Cornellà 5a888ff4ac fix(updater): don't show changelog when running unattended update (#9495) 6 years ago
Marc Cornellà 889cd7acf3 refactor(updater): switch to Zsh execution and fix git remote detection logic 6 years ago
M. Yas. Davoodeh 5c1a5c6ce9
update: prefix rm call with command in trap (#9107) 6 years ago
Marc Cornellà 97cf0bf4bd update: change dash in function name for sh compat (fixes #9064) 6 years ago
alexagnelli 48b98b957e
update: only update on a valid affirmative input (#9062) 6 years ago
Marc Cornellà 3c777ebf1b
update: refactor and fix logic in check_for_upgrade.sh (#8939) 6 years ago
Marc Cornellà c23ab00990
upgrade: fix lock-out on first upgrade check 7 years ago
Chao Du de8299d6c4 Fixed Issue #4550: Move ~/.zsh-update file to $ZSH_CACHE_DIR 8 years ago
Gert de Pagter 2b7a41b0d2 Update the update prompt (#6825) 8 years ago
Fabian Wolff 1f64fa92f5 Convert "if then" statements to "if; then" one-liners 10 years ago
Fabian Wolff 4fa6be0230 Use rmdir instead of rm -r 10 years ago
Fabian Wolff 40bfe5a412 Implement a locking mechanism to avoid multiple update prompts (fixes #3766) 10 years ago
Fredrik Fornwall 9772f8e10d Replace /bin/sh with sh for portability (#5291) 10 years ago
Arvind Chembarpu e59e1c8417 Check for git before trying to upgrade, as per #4504 11 years ago
Marc Scholten d351c76b04 Also accept any forms of yes as an answer to the "do you want to update?" prompt 11 years ago
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 12 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 12 years ago
Moinak Ghosh 5e328e3a9c Solaris portability tweaks. 12 years ago
n.st a9e1d9aa89 Cancel upgrade if $ZSH is not writable 12 years ago
Mark Feltner 8d976e02b1 fix(tools/check_for_upgrade): Don't source profile 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." 13 years ago
n.st 152e1e07e0 Cancel update if the current user doesn't have write permissions for the oh-my-zsh directory. 13 years ago
Patrick Stadler 858c515df2 source ~/.profile only if it exists 13 years ago
Gaetan Semet 3f44f51e9c source ~/.profile for upgrading (to source the proxy configuration) 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 15 years ago
nebirhos 626fa5b1d8 fixed autoupdate 15 years ago
Christopher Chow cc90e3aa06 Fixed auto update. 16 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