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() {