init: oops

This commit is contained in:
Marc Cornellà 2020-06-02 12:06:40 +02:00
parent 0e12ebb42d
commit c58572d5fe

View file

@ -68,7 +68,6 @@ zcompdump_fpath="#omz fpath: $fpath"
# Delete the zcompdump file if OMZ zcompdump metadata changed
if ! command grep -q -Fx "$zcompdump_revision" "$ZSH_COMPDUMP" 2>/dev/null \
|| ! command grep -q -Fx "$zcompdump_fpath" "$ZSH_COMPDUMP" 2>/dev/null; then
echo zcompdump changed
command rm -f "$ZSH_COMPDUMP"
zcompdump_refresh=1
fi