fix(functions): use `command` env

Closes #11709
master
Carlo Sala 3 years ago
parent 444e715766
commit 902b79e635
No known key found for this signature in database
GPG Key ID: DA6FB450C1A4FE9A
  1. 2
      lib/functions.zsh

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

Loading…
Cancel
Save