Unverified Commit bbe54e4e authored by Marek Dědič's avatar Marek Dědič Committed by GitHub
Browse files

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

parent 40096685
...@@ -8,7 +8,7 @@ function uninstall_oh_my_zsh() { ...@@ -8,7 +8,7 @@ function uninstall_oh_my_zsh() {
function upgrade_oh_my_zsh() { function upgrade_oh_my_zsh() {
env ZSH="$ZSH" sh "$ZSH/tools/upgrade.sh" env ZSH="$ZSH" sh "$ZSH/tools/upgrade.sh"
rm -rf "$ZSH/log/update.lock" command rm -rf "$ZSH/log/update.lock"
} }
function take() { function take() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment