mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
lib: use command
to run rm in upgrade function (#8696)
This commit is contained in:
parent
4009668500
commit
bbe54e4e60
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue