From 0be7c897f824223fa1cd22976b07ae79eff6aaea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Tue, 1 Feb 2022 13:11:49 +0100 Subject: [PATCH] refactor(zsh_reload)!: remove deprecated plugin BREAKING CHANGE: the `zsh_reload` was deprecated long ago and showed a deprecation message. The `src` function was replaced by the CLI command `omz reload`, so use that instead from now on. --- plugins/zsh_reload/README.md | 3 --- plugins/zsh_reload/zsh_reload.plugin.zsh | 7 ------- 2 files changed, 10 deletions(-) delete mode 100644 plugins/zsh_reload/README.md delete mode 100644 plugins/zsh_reload/zsh_reload.plugin.zsh diff --git a/plugins/zsh_reload/README.md b/plugins/zsh_reload/README.md deleted file mode 100644 index 0b2e2a775..000000000 --- a/plugins/zsh_reload/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# zsh_reload plugin - -**This plugin is deprecated.** Use `omz reload` or `exec zsh` instead. diff --git a/plugins/zsh_reload/zsh_reload.plugin.zsh b/plugins/zsh_reload/zsh_reload.plugin.zsh deleted file mode 100644 index 6a058ec5e..000000000 --- a/plugins/zsh_reload/zsh_reload.plugin.zsh +++ /dev/null @@ -1,7 +0,0 @@ -print ${(%):-"%F{yellow}The \`zsh_reload\` plugin is deprecated and will be removed."} -print ${(%):-"Use \`%Bomz reload%b\` or \`%Bexec zsh%b\` instead.%f"} - -src() { - print ${(%):-"%F{yellow}$0 is deprecated. Use \`%Bomz reload%b\` or \`%Bexec zsh%b\` instead.%f\n"} - omz reload -}