浏览代码

fix(functions): use `command` env

Closes #11709
Carlo Sala 1 年之前
父节点
当前提交
902b79e635
共有 1 个文件被更改,包括 1 次插入1 次删除
  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() {