From 49bae43f6202e7e1171d8911d8b243714dfe888a Mon Sep 17 00:00:00 2001 From: Marc Cornellà Date: Tue, 28 Dec 2021 14:30:13 +0100 Subject: refactor(plugins): generate completion functions in the background --- plugins/rustup/rustup.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/rustup/rustup.plugin.zsh') diff --git a/plugins/rustup/rustup.plugin.zsh b/plugins/rustup/rustup.plugin.zsh index d8225901b..3d59c1c54 100644 --- a/plugins/rustup/rustup.plugin.zsh +++ b/plugins/rustup/rustup.plugin.zsh @@ -7,7 +7,7 @@ print ${(%):-'Please update your .zshrc to use the `%Brust%b` plugin instead.%f' 0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}" 0="${${(M)0:#/*}:-$PWD/$0}" # Remove old generated completion file -command rm -f "${0:A:h}/_rustup" +command rm -f "${0:A:h}/_rustup" "$ZSH_CACHE_DIR/rustup_version" (( ${fpath[(Ie)$ZSH/plugins/rust]} )) || { fpath=("$ZSH/plugins/rust" $fpath) -- cgit v1.2.3-70-g09d2