Browse Source

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.
Marc Cornellà 2 years ago
parent
commit
0be7c897f8
2 changed files with 0 additions and 10 deletions
  1. 0 3
      plugins/zsh_reload/README.md
  2. 0 7
      plugins/zsh_reload/zsh_reload.plugin.zsh

+ 0 - 3
plugins/zsh_reload/README.md

@@ -1,3 +0,0 @@
-# zsh_reload plugin
-
-**This plugin is deprecated.** Use `omz reload` or `exec zsh` instead.

+ 0 - 7
plugins/zsh_reload/zsh_reload.plugin.zsh

@@ -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
-}