mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 15:36:24 +08: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:
parent
3fdad09d09
commit
0be7c897f8
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user