From bbe54e4e6009dcbb69a4ace22ddae3672b323fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Tue, 3 Mar 2020 13:46:06 +0100 Subject: [PATCH] lib: use `command` to run rm in upgrade function (#8696) --- lib/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.zsh b/lib/functions.zsh index 91e9cf895..f934ab968 100644 --- a/lib/functions.zsh +++ b/lib/functions.zsh @@ -8,7 +8,7 @@ function uninstall_oh_my_zsh() { function upgrade_oh_my_zsh() { env ZSH="$ZSH" sh "$ZSH/tools/upgrade.sh" - rm -rf "$ZSH/log/update.lock" + command rm -rf "$ZSH/log/update.lock" } function take() {