Browse Source

fix(functions): use `command` env

Closes #11709
Carlo Sala 10 months ago
parent
commit
902b79e635
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/functions.zsh

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