fix(osx): deprecate osx plugin without symlink (#10428)

Fixes #10428
This commit is contained in:
Marc Cornellà 2021-11-17 10:53:17 +01:00
commit b60b3f1842
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B
5 changed files with 8 additions and 8 deletions

View file

@ -0,0 +1,5 @@
print ${(%):-'%F{yellow}The `osx` plugin is deprecated and has been renamed to `macos`.'}
print ${(%):-'Please update your .zshrc to use the `%Bmacos%b` plugin instead.%f'}
(( ${fpath[(Ie)$ZSH/plugins/macos]} )) || fpath=("$ZSH/plugins/macos" $fpath)
source "$ZSH/plugins/macos/macos.plugin.zsh"