2019-01-22 19:40:43 -05:00
|
|
|
_zimfw_clean_dumpfile() {
|
2019-12-01 16:00:47 -05:00
|
|
|
local zdumpfile zopt
|
2019-12-14 22:21:34 -05:00
|
|
|
zstyle -s ':zim:completion' dumpfile 'zdumpfile' || zdumpfile=<%= home %>/.zcompdump
|
2020-02-03 20:43:36 -05:00
|
|
|
if (( _zprintlevel > 0 )) zopt='-v'
|
2020-01-09 07:21:16 -05:00
|
|
|
command rm -f ${zopt} ${zdumpfile}(|.zwc(|.old))(N) || return 1
|
2020-01-09 07:13:31 -05:00
|
|
|
_zimfw_print -P '<%= done %>Done with clean-dumpfile. Restart your terminal to dump an updated configuration.'
|
2019-01-22 19:40:43 -05:00
|
|
|
}
|