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
40b013f5
Commit
40b013f5
authored
Feb 24, 2020
by
Marc Cornellà
Browse files
lib: delete upgrade lock in upgrade_oh_my_zsh
Provides a different solution to #8332 and #8333
parent
f9a2d8ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/functions.zsh
View file @
40b013f5
...
...
@@ -3,11 +3,12 @@ function zsh_stats() {
}
function
uninstall_oh_my_zsh
()
{
env
ZSH
=
$ZSH
sh
$ZSH
/tools/uninstall.sh
env
ZSH
=
"
$ZSH
"
sh
"
$ZSH
/tools/uninstall.sh
"
}
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"
}
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