mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
lib: use command
to run rm in upgrade function (#8696)
This commit is contained in:
parent
4009668500
commit
bbe54e4e60
@ -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…
Reference in New Issue
Block a user