Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
0fe2462a
Commit
0fe2462a
authored
Oct 10, 2011
by
Robby Russell
Browse files
Merge pull request #554 from toolbear/549-fix-auto-upgrade
Fix auto upgrade failure from non-exported ZSH env var
parents
167f84da
c113e88c
Changes
2
Hide whitespace changes
Inline
Side-by-side
oh-my-zsh.sh
View file @
0fe2462a
# Check for updates on initial load...
if
[
"
$DISABLE_AUTO_UPDATE
"
!=
"true"
]
then
/usr/bin/env zsh
$ZSH
/tools/check_for_upgrade.sh
/usr/bin/env
ZSH
=
$ZSH
zsh
$ZSH
/tools/check_for_upgrade.sh
fi
# Initializes Oh My Zsh
...
...
tools/check_for_upgrade.sh
View file @
0fe2462a
...
...
@@ -24,7 +24,7 @@ then
read
line
if
[
"
$line
"
=
Y
]
||
[
"
$line
"
=
y
]
then
/bin/sh
$ZSH
/tools/upgrade.sh
/usr/bin/env
ZSH
=
$ZSH
/bin/sh
$ZSH
/tools/upgrade.sh
# update the zsh file
_update_zsh_update
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment