Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
bbe54e4e
Unverified
Commit
bbe54e4e
authored
Mar 03, 2020
by
Marek Dědič
Committed by
GitHub
Mar 03, 2020
Browse files
lib: use `command` to run rm in upgrade function (#8696)
parent
40096685
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/functions.zsh
View file @
bbe54e4e
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment