Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
0fe2462a
Commit
0fe2462a
authored
Oct 10, 2011
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
oh-my-zsh.sh
oh-my-zsh.sh
+1
-1
check_for_upgrade.sh
tools/check_for_upgrade.sh
+1
-1
No files found.
oh-my-zsh.sh
View file @
0fe2462a
# Check for updates on initial load...
# Check for updates on initial load...
if
[
"
$DISABLE_AUTO_UPDATE
"
!=
"true"
]
if
[
"
$DISABLE_AUTO_UPDATE
"
!=
"true"
]
then
then
/usr/bin/env zsh
$ZSH
/tools/check_for_upgrade.sh
/usr/bin/env
ZSH
=
$ZSH
zsh
$ZSH
/tools/check_for_upgrade.sh
fi
fi
# Initializes Oh My Zsh
# Initializes Oh My Zsh
...
...
tools/check_for_upgrade.sh
View file @
0fe2462a
...
@@ -24,7 +24,7 @@ then
...
@@ -24,7 +24,7 @@ then
read
line
read
line
if
[
"
$line
"
=
Y
]
||
[
"
$line
"
=
y
]
if
[
"
$line
"
=
Y
]
||
[
"
$line
"
=
y
]
then
then
/bin/sh
$ZSH
/tools/upgrade.sh
/
usr/bin/env
ZSH
=
$ZSH
/
bin/sh
$ZSH
/tools/upgrade.sh
# update the zsh file
# update the zsh file
_update_zsh_update
_update_zsh_update
fi
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