mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-18 03:36:45 +08:00
Replace /usr/bin/env with env
Some environments (such as Android) does not have /usr/bin.
This commit is contained in:
1 parent
1b7a3ea99a
commit
dac2a6e27a
4 files changed
+6
-6
No files matched your search
@@ -9,7 +9,7 @@ function _update_zsh_update() {
|
||||
}
|
||||
|
||||
function _upgrade_zsh() {
|
||||
/usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
|
||||
env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
|
||||
# update the zsh file
|
||||
_update_zsh_update
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user