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

master
Marek Dědič 6 years ago committed by GitHub
parent 4009668500
commit bbe54e4e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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() {

Loading…
Cancel
Save