Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
d93f3174
Unverified
Commit
d93f3174
authored
Nov 20, 2022
by
Carlo
Committed by
GitHub
Nov 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(init): prevent multiple compdump compilations (#11345)
Closes #11341
parent
5ab51736
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
oh-my-zsh.sh
oh-my-zsh.sh
+4
-1
No files found.
oh-my-zsh.sh
View file @
d93f3174
...
@@ -143,7 +143,10 @@ fi
...
@@ -143,7 +143,10 @@ fi
unset
zcompdump_revision zcompdump_fpath zcompdump_refresh
unset
zcompdump_revision zcompdump_fpath zcompdump_refresh
# zcompile the completion dump file if the .zwc is older or missing.
# zcompile the completion dump file if the .zwc is older or missing.
zrecompile
-q
-p
"
$ZSH_COMPDUMP
"
&&
command rm
-f
"
$ZSH_COMPDUMP
.zwc.old"
if
command mkdir
"
${
ZSH_COMPDUMP
}
.lock"
2>/dev/null
;
then
zrecompile
-q
-p
"
$ZSH_COMPDUMP
"
command rm
-rf
"
$ZSH_COMPDUMP
.zwc.old"
"
${
ZSH_COMPDUMP
}
.lock"
fi
# Load all of the config files in ~/oh-my-zsh that end in .zsh
# Load all of the config files in ~/oh-my-zsh that end in .zsh
# TIP: Add files you don't want in git to .gitignore
# TIP: Add files you don't want in git to .gitignore
...
...
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