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
c58572d5
Commit
c58572d5
authored
Jun 02, 2020
by
Marc Cornellà
Browse files
init: oops
parent
0e12ebb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
oh-my-zsh.sh
View file @
c58572d5
...
@@ -68,7 +68,6 @@ zcompdump_fpath="#omz fpath: $fpath"
...
@@ -68,7 +68,6 @@ zcompdump_fpath="#omz fpath: $fpath"
# Delete the zcompdump file if OMZ zcompdump metadata changed
# Delete the zcompdump file if OMZ zcompdump metadata changed
if
!
command grep
-q
-Fx
"
$zcompdump_revision
"
"
$ZSH_COMPDUMP
"
2>/dev/null
\
if
!
command grep
-q
-Fx
"
$zcompdump_revision
"
"
$ZSH_COMPDUMP
"
2>/dev/null
\
||
!
command grep
-q
-Fx
"
$zcompdump_fpath
"
"
$ZSH_COMPDUMP
"
2>/dev/null
;
then
||
!
command grep
-q
-Fx
"
$zcompdump_fpath
"
"
$ZSH_COMPDUMP
"
2>/dev/null
;
then
echo
zcompdump changed
command rm
-f
"
$ZSH_COMPDUMP
"
command rm
-f
"
$ZSH_COMPDUMP
"
zcompdump_refresh
=
1
zcompdump_refresh
=
1
fi
fi
...
...
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