mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
fixed bash calls with absolute path
This commit is contained in:
parent
d8f6784473
commit
9f3d85de42
2 changed files with 3 additions and 3 deletions
|
|
@ -3,11 +3,11 @@ function zsh_stats() {
|
|||
}
|
||||
|
||||
function uninstall_oh_my_zsh() {
|
||||
/usr/bin/env ZSH=$ZSH bash $ZSH/tools/uninstall.sh
|
||||
/usr/bin/env ZSH=$ZSH /bin/bash $ZSH/tools/uninstall.sh
|
||||
}
|
||||
|
||||
function upgrade_oh_my_zsh() {
|
||||
/usr/bin/env ZSH=$ZSH bash $ZSH/tools/upgrade.sh
|
||||
/usr/bin/env ZSH=$ZSH /bin/bash $ZSH/tools/upgrade.sh
|
||||
}
|
||||
|
||||
function take() {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ function _update_zsh_update() {
|
|||
}
|
||||
|
||||
function _upgrade_zsh() {
|
||||
/usr/bin/env ZSH=$ZSH bash $ZSH/tools/upgrade.sh
|
||||
/usr/bin/env ZSH=$ZSH /bin/bash $ZSH/tools/upgrade.sh
|
||||
# update the zsh file
|
||||
_update_zsh_update
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue