diff options
author | Marc Cornellà <hello@mcornella.com> | 2022-06-15 20:07:35 +0200 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2022-06-15 20:14:02 +0200 |
commit | 8168ec0174e7e3212be20ecc74810155772abff1 (patch) | |
tree | 34b075fc16f67be697a98cf0b7d2db272ac373d6 /plugins/cargo | |
parent | ed03e7127f392bb3ee51ed971e9f2c76984bb761 (diff) | |
download | zsh-8168ec0174e7e3212be20ecc74810155772abff1.tar.gz zsh-8168ec0174e7e3212be20ecc74810155772abff1.tar.bz2 zsh-8168ec0174e7e3212be20ecc74810155772abff1.zip |
refactor!: remove deprecated plugins
BREAKING CHANGE: the following deprecated plugins have been removed:
`cargo`, `copydir`, `npx`, `osx`, and `rustup`. See the wiki for more info:
https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins#removed
refactor(rustup)!: remove deprecated plugin
BREAKING CHANGE: the plugin was deprecated and is now removed. See the wiki for more info:
https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins#removed
Diffstat (limited to 'plugins/cargo')
-rw-r--r-- | plugins/cargo/README.md | 3 | ||||
-rw-r--r-- | plugins/cargo/cargo.plugin.zsh | 7 |
2 files changed, 0 insertions, 10 deletions
diff --git a/plugins/cargo/README.md b/plugins/cargo/README.md deleted file mode 100644 index 93e69ae7f..000000000 --- a/plugins/cargo/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# cargo - -**Deprecated: use the [`rust`](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/rust) plugin instead.** diff --git a/plugins/cargo/cargo.plugin.zsh b/plugins/cargo/cargo.plugin.zsh deleted file mode 100644 index 692025e8f..000000000 --- a/plugins/cargo/cargo.plugin.zsh +++ /dev/null @@ -1,7 +0,0 @@ -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'} - -(( ${fpath[(Ie)$ZSH/plugins/rust]} )) || { - fpath=("$ZSH/plugins/rust" $fpath) - source "$ZSH/plugins/rust/rust.plugin.zsh" -} |