Skip to content

Commit

Permalink
feat: check dumpfile after completion update
Browse files Browse the repository at this point in the history
Signed-off-by: Joke de Buhr <joke@xckk.de>
  • Loading branch information
joke committed Sep 17, 2022
1 parent ed199d3 commit 4c9e13e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
[[ -z $command ]] && return 1

local compfile=$1/functions/_minikube
[[ ! -e $compfile || $compfile -ot $command ]] && $command completion zsh >| $compfile
if [[ ! -e $compfile || $compfile -ot $command ]]; then
$command completion zsh >| $compfile
zimfw check-dumpfile
fi
} ${0:h}

0 comments on commit 4c9e13e

Please sign in to comment.