Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
9772f8e1
Commit
9772f8e1
authored
Aug 09, 2016
by
Fredrik Fornwall
Committed by
Marc Cornellà
Aug 09, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace /bin/sh with sh for portability (#5291)
This makes things work even on system lacking /bin/sh, such as on non-rooted Android systems.
parent
a7de0fab
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
functions.zsh
lib/functions.zsh
+2
-2
check_for_upgrade.sh
tools/check_for_upgrade.sh
+1
-1
No files found.
lib/functions.zsh
View file @
9772f8e1
...
...
@@ -3,11 +3,11 @@ function zsh_stats() {
}
function
uninstall_oh_my_zsh
()
{
env
ZSH
=
$ZSH
/bin/
sh
$ZSH
/tools/uninstall.sh
env
ZSH
=
$ZSH
sh
$ZSH
/tools/uninstall.sh
}
function
upgrade_oh_my_zsh
()
{
env
ZSH
=
$ZSH
/bin/
sh
$ZSH
/tools/upgrade.sh
env
ZSH
=
$ZSH
sh
$ZSH
/tools/upgrade.sh
}
function
take
()
{
...
...
tools/check_for_upgrade.sh
View file @
9772f8e1
...
...
@@ -11,7 +11,7 @@ function _update_zsh_update() {
}
function
_upgrade_zsh
()
{
env
ZSH
=
$ZSH
/bin/
sh
$ZSH
/tools/upgrade.sh
env
ZSH
=
$ZSH
sh
$ZSH
/tools/upgrade.sh
# update the zsh file
_update_zsh_update
}
...
...
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