1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 10:22:00 +00:00

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.
This commit is contained in:
Marc Cornellà 2022-02-01 13:11:49 +01:00
parent 3fdad09d09
commit 0be7c897f8
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B
2 changed files with 0 additions and 10 deletions

View file

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

View file

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