Logo
Explore Help
Sign In
gaspersic/ohmyzsh
1
0
Fork 0
You've already forked ohmyzsh
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
a33ae92f4d78d4e4089d4d04a1d9f18bb11f39e1
ohmyzsh/plugins/zsh_reload/zsh_reload.plugin.zsh

8 lines
283 B
Bash
Raw Normal View History

feat(cli)!: add `omz reload` command and deprecate `zsh_reload` plugin (#9078) BREAKING CHANGE: the `zsh_reload` plugin is deprecated. Instead of using its `src` function, use `omz reload` or `exec zsh` to reload zsh after making changes to your `.zshrc` file. Closes #9078
2020-07-03 12:16:58 +08:00
print ${(%):-"%F{yellow}The \`zsh_reload\` plugin is deprecated and will be removed."}
print ${(%):-"Use \`%Bomz reload%b\` or \`%Bexec zsh%b\` instead.%f"}
Use cache folder inside $ZSH, delete with unaliased rm
2014-03-25 22:16:36 +01:00
feat(cli)!: add `omz reload` command and deprecate `zsh_reload` plugin (#9078) BREAKING CHANGE: the `zsh_reload` plugin is deprecated. Instead of using its `src` function, use `omz reload` or `exec zsh` to reload zsh after making changes to your `.zshrc` file. Closes #9078
2020-07-03 12:16:58 +08:00
src() {
print ${(%):-"%F{yellow}$0 is deprecated. Use \`%Bomz reload%b\` or \`%Bexec zsh%b\` instead.%f\n"}
omz reload
Use cache folder inside $ZSH, delete with unaliased rm
2014-03-25 22:16:36 +01:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 181ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API