From 8a2e1006b3b272126332aa064f3ad95387129544 Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Thu, 13 Feb 2025 14:13:49 +0530 Subject: new dot files --- .config/zsh/oh-my-zsh/plugins/rustup/README.md | 3 +++ .config/zsh/oh-my-zsh/plugins/rustup/rustup.plugin.zsh | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 .config/zsh/oh-my-zsh/plugins/rustup/README.md create mode 100644 .config/zsh/oh-my-zsh/plugins/rustup/rustup.plugin.zsh (limited to '.config/zsh/oh-my-zsh/plugins/rustup') diff --git a/.config/zsh/oh-my-zsh/plugins/rustup/README.md b/.config/zsh/oh-my-zsh/plugins/rustup/README.md new file mode 100644 index 0000000..c620e72 --- /dev/null +++ b/.config/zsh/oh-my-zsh/plugins/rustup/README.md @@ -0,0 +1,3 @@ +# rustup + +**Deprecated: use the [`rust`](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/rust) plugin instead.** diff --git a/.config/zsh/oh-my-zsh/plugins/rustup/rustup.plugin.zsh b/.config/zsh/oh-my-zsh/plugins/rustup/rustup.plugin.zsh new file mode 100644 index 0000000..ef141cf --- /dev/null +++ b/.config/zsh/oh-my-zsh/plugins/rustup/rustup.plugin.zsh @@ -0,0 +1,7 @@ +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'} + +(( ${fpath[(Ie)$ZSH/plugins/rust]} )) || { + fpath=("$ZSH/plugins/rust" $fpath) + source "$ZSH/plugins/rust/rust.plugin.zsh" +} -- cgit v1.2.3-59-g8ed1b