Change on Zplugin repository
hoon0422 opened this issue · 2 comments
hoon0422 commented
ZPlugin repository is moved to "https://github.com/zdharma-continuum/zinit.git".
I don't have a screenshot for error messages due to this issue. The messages include that zplugin
command does not exist.
Here is how I solved this issue. (Environment: Mac OS Monterey)
- Install "https://github.com/zdharma-continuum/zinit.git" manually.
- Go to the directory of the installed program (in my case,
~/.local/share/zinit
) - Create a link from
zinit.git
directory tobin
ln -s ~/.local/share/zinit/zinit.git ~/.local/share/zinit/bin
- Change some lines of
~/.zsh/BlaCk-Void.zshrc
ZPLUGIN_DIR=~/.zplugin
toZPLUGIN_DIR=~/.local/share/zinit
ZPLUGIN_BIN=${ZPLUGIN_DIR}/zplugin.zsh
toZPLUGIN_BIN=${ZPLUGIN_DIR}/bin/zinit.zsh
- Run
source ~/.zshrc
black7375 commented
I had a similar issue in the past, so I wrote a migration code.
https://github.com/black7375/BlaCk-Void-Zsh/blob/master/autoload/zsh-update
I will make the migration progress if the zsh-update
is executed within a few days.
black7375 commented
Migration has been applied.
After cd $BVZSH && git pull
due to the structural problems of the old code, you can run the zsh-update
after restarting