Browse Source

lib: use `command` to run rm in upgrade function (#8696)

Marek Dědič 5 years ago
parent
commit
bbe54e4e60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/functions.zsh

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