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 ef902d9 commit 89e3de9
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/_gopass
[[ ! -e $compfile || $compfile -ot $command ]] && $command completion zsh >| $compfile
if [[ ! -e $compfile || $compfile -ot $command ]];
$command completion zsh >| $compfile
zimfw check-dumpfile
fi
} ${0:h}

0 comments on commit 89e3de9

Please sign in to comment.