1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

fix(functions): use command env

Closes #11709
This commit is contained in:
Carlo Sala 2023-05-23 08:43:47 +02:00
parent 444e715766
commit 902b79e635
No known key found for this signature in database
GPG key ID: DA6FB450C1A4FE9A

View file

@ -5,7 +5,7 @@ function zsh_stats() {
}
function uninstall_oh_my_zsh() {
env ZSH="$ZSH" sh "$ZSH/tools/uninstall.sh"
command env ZSH="$ZSH" sh "$ZSH/tools/uninstall.sh"
}
function upgrade_oh_my_zsh() {