blob: 51a80d4f191ebca2d1c2c86148d85e4cd2592138 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
print ${(%):-'%F{yellow}The `cargo` plugin is deprecated and has been moved to the `rust` plugin.'}
print ${(%):-'Please update your .zshrc to use the `%Brust%b` plugin instead.%f'}
# Remove old generated completion file
# TODO: 2021-12-28: remove this line
command rm -f "${0:A:h}/_cargo"
(( ${fpath[(Ie)$ZSH/plugins/rust]} )) || {
fpath=("$ZSH/plugins/rust" $fpath)
source "$ZSH/plugins/rust/rust.plugin.zsh"
}
|