2021-10-06 20:43:09 +00:00
|
|
|
print ${(%):-'%F{yellow}The `rustup` plugin is deprecated and has been moved to the `rust` plugin.'}
|
|
|
|
print ${(%):-'Please update your .zshrc to use the `%Brust%b` plugin instead.%f'}
|
2021-09-15 16:41:44 +00:00
|
|
|
|
2021-11-06 16:45:51 +00:00
|
|
|
# Remove old generated completion file
|
2021-10-06 20:43:09 +00:00
|
|
|
# TODO: 2021-12-28: remove this line
|
2021-11-06 16:45:51 +00:00
|
|
|
command rm -f "${0:A:h}/_rustup"
|
2021-09-15 16:18:25 +00:00
|
|
|
|
2021-10-06 20:43:09 +00:00
|
|
|
(( ${fpath[(Ie)$ZSH/plugins/rust]} )) || {
|
|
|
|
fpath=("$ZSH/plugins/rust" $fpath)
|
|
|
|
source "$ZSH/plugins/rust/rust.plugin.zsh"
|
|
|
|
}
|