mirror of
https://github.com/Matir/skel.git
synced 2026-07-24 21:26:57 -07:00
Compare commits
2 Commits
2e0c11c044
...
e4b9a7c16b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4b9a7c16b | ||
|
|
75348c4413 |
@@ -214,7 +214,7 @@ if [[ $- == *i* ]] ; then
|
|||||||
if [[ ! -f "$DUMPFILE" || ( -n "$newest_comp" && "$newest_comp" -nt "$DUMPFILE" ) ]]; then
|
if [[ ! -f "$DUMPFILE" || ( -n "$newest_comp" && "$newest_comp" -nt "$DUMPFILE" ) ]]; then
|
||||||
compinit -i -d "$DUMPFILE"
|
compinit -i -d "$DUMPFILE"
|
||||||
# Asynchronously compile the dump file with an atomic rename
|
# Asynchronously compile the dump file with an atomic rename
|
||||||
{ zcompile "$DUMPFILE.zwc.tmp" "$DUMPFILE" && mv -f "$DUMPFILE.zwc.tmp" "$DUMPFILE.zwc" } &!
|
{ zcompile "$DUMPFILE.zwc.$$.tmp" "$DUMPFILE" && mv -f "$DUMPFILE.zwc.$$.tmp" "$DUMPFILE.zwc" } &!
|
||||||
else
|
else
|
||||||
compinit -C -i -d "$DUMPFILE"
|
compinit -C -i -d "$DUMPFILE"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user