mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01: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:
@@ -1,3 +0,0 @@
|
|||||||
# zsh_reload plugin
|
|
||||||
|
|
||||||
**This plugin is deprecated.** Use `omz reload` or `exec zsh` instead.
|
|
||||||
@@ -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
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user