2019-01-22 19:40:43 -05:00
|
|
|
_zimfw_clean_dumpfile() {
|
2019-12-01 16:00:47 -05:00
|
|
|
local zdumpfile zopt
|
2019-01-22 19:40:43 -05:00
|
|
|
zstyle -s ':zim:completion' dumpfile 'zdumpfile' || zdumpfile="<%= home %>/.zcompdump"
|
2019-12-01 16:00:47 -05:00
|
|
|
(( ! _zquiet )) && zopt='-v'
|
2019-01-22 19:40:43 -05:00
|
|
|
command rm -f ${zopt} ${zdumpfile}{,.zwc{,.old}} || return 1
|
2019-12-01 16:00:47 -05:00
|
|
|
if (( ! _zquiet )); then
|
2019-12-13 07:14:10 -05:00
|
|
|
print -P '<%= done %>Done with clean-dumpfile. Restart your terminal to dump an updated configuration.'
|
2019-01-22 19:40:43 -05:00
|
|
|
fi
|
|
|
|
}
|