HeroCC
6a1b8320fe
No input for Update Check defaults to Yes
11 years ago
Pablo Tamarit
03b8c199e5
Fix 'chsh' by checking '/etc/shells' instead of using 'which'
...
fix test for chsh in install
in case $SHELL is zsh but not the last one in /etc/shells
fixes #3026 fixes #3779 fixes #3780
11 years ago
Nicholas T.
5cb0ed98d1
Fast installation time by shallow copying git repo
...
Use `--depth=1` to clone just the lastest version rather than every version in git.
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
mizabrik
c6a8b2ea6d
Save ZSH path in newly created .zshrc
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
Robby Russell
671bd0cf4f
Link to swag in installer... shameless profiting
12 years ago
Robby Russell
9f8d7d85c2
Adding link to the store for swag in upgrade process
12 years ago
Mathieu Comandon
91ba6d9887
Don't try running chsh if user already runs zsh
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
Henrik Holm
f46d06dae1
Correct redirection of output from 'hash'
...
The intention of the redirection to /dev/null is to hide the output
'hash: no such command: git' since we rely on the exit status.
However, the output goes to stderr, so it's stderr that needs to be
redirected. For completeness, we redirect both stderr and stdout using
'2>&1'.
Example:
[~]$ hash git > /dev/null
[~]$ PATH=''
[~]$ hash git > /dev/null
hash: no such command: git
[~]$ hash git > /dev/null 2>&1
[~]$
12 years ago
Robby Russell
47b0d754ae
Fixing a few quirks in the latest installer updates (quoting /Users/robbyrussell/.oh-my-zsh and such). Also mentioining our twitter account after install
12 years ago
Andrew Vit
da1fa3b06a
Abort installer on errors
12 years ago
Andrew Vit
2e11e2ab5a
Write install path into .zshrc
12 years ago
Andrew Vit
5bd590ceb3
Reference default install path from ZSH variable
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
Valentin Shevko
7c56364dc4
Add update statistics
...
After the upgrade is interesting to know what's new.
13 years ago
Andrew Vit
1e9f55f09d
Add configuration placeholders to installer template
...
Although the zshrc template adds a PATH= string, this is overwritten by the installer script.
This allows it to be placed anywhere in the file instead of having to append at the end.
13 years ago
Gaetan Semet
0fcb7dd55e
Display right prompt in theme chooser
...
I didn't found the way to right-align the right prompt
properly.
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
13 years ago
dongweiming
d4a9467f89
Modify determine the oh-my-zsh installed in non-default path of the installed
13 years ago
UncleBill
87a1d8a02d
git-pull add --rebase option
13 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
Marcus Müller
39b46f526c
eliminated unnecessary cd and failing substitution
...
Changing the working directory in a sub-subshell
does not change the working directory of the executing
shell.
The substitution was broken for me on _all_ my machines,
so I started looking into the business.
13 years ago
Gaurav Misra
32a42f27b6
Escape spaces in folder name so script won't fail
...
If the current directory has spaces, the script fails to change paths and fails.
13 years ago
Henry Yan
d55262b6a1
Added $PATH to PATH in install shell
13 years ago
Deepu Sudhakar
9991401aaa
Escape /Users/desudhak/.oh-my-zsh path (previously broke spaces in path)
13 years ago
Probably Not
dfbafe6d58
Fixing conflict in install scripts
13 years ago
Eric Danielson
200a25818a
Add UPDATE_ZSH_DAYS setting
14 years ago
Sergey Lukin
ebeae4abe9
Fix /bin/sh compatibility issue in install.sh
14 years ago
Eric Mathison
b0cf0674ef
Fix color syntax
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
Renan Cakirerk
a39c9ffe5b
Fix finding git issue. http://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script
14 years ago
Robby Russell
91b4758d8f
Now with 50% less auto-updates.
14 years ago
Daniel Lockard
12e181c6f6
Added an if-statement to see if git is installed
14 years ago
backspace
0d99759cc3
Don’t report that Oh My Zsh has been updated when it hasn’t.
14 years ago
Russell Harmon
7ec2dd984a
Use printf rather than echo -e in update.sh
...
update.sh is an "sh" script, not a zsh or bash script. On platforms
which have real sh, echo does not have the -e option.
15 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
fox
cbf662744f
fixed theme chooser + options + list available themes + show all themes
15 years ago
Ilya Chesnokov
b160ee6512
'echo' did not show colors without -e in upgrade.sh
15 years ago
fox
d15d3a5b01
global zsh config
15 years ago
fox
76dd2d8b05
mac os fix
15 years ago