summaryrefslogtreecommitdiff
path: root/plugins/zsh_reload
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-02-01 13:11:49 +0100
committerMarc Cornellà <hello@mcornella.com>2022-02-01 13:11:49 +0100
commit0be7c897f824223fa1cd22976b07ae79eff6aaea (patch)
treeb1c1149178dd8f45188c19e25df3c4f6ff8fb5f8 /plugins/zsh_reload
parent3fdad09d095c0d415e0bd9b5710f57fe30fc962a (diff)
downloadzsh-0be7c897f824223fa1cd22976b07ae79eff6aaea.tar.gz
zsh-0be7c897f824223fa1cd22976b07ae79eff6aaea.tar.bz2
zsh-0be7c897f824223fa1cd22976b07ae79eff6aaea.zip
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.
Diffstat (limited to 'plugins/zsh_reload')
-rw-r--r--plugins/zsh_reload/README.md3
-rw-r--r--plugins/zsh_reload/zsh_reload.plugin.zsh7
2 files changed, 0 insertions, 10 deletions
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
-}