Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to migrate from zdharma/zinit? #28

Closed
seasonedfish opened this issue Nov 9, 2021 · 10 comments
Closed

Question: How to migrate from zdharma/zinit? #28

seasonedfish opened this issue Nov 9, 2021 · 10 comments
Labels
documentation Improvements or additions to documentation faq A frequently asked question (FAQ)

Comments

@seasonedfish
Copy link

I used zinit before it was deleted, and I wanted to migrate to the new repository.
In ~/.zinit/bin, I ran:

git remote set-url origin https://github.com/zdharma-continuum/zinit.git

It seems to have worked; zinit self-update pulls from the new URL.
Screen Shot 2021-11-08 at 5 57 40 PM

Is this the recommended way of migrating? Perhaps some documentation could be added to the README to help other users.

@alichtman
Copy link
Member

It's currently covered in the wiki but happy to approve a PR. :)

@pschmitt pschmitt pinned this issue Nov 9, 2021
@pschmitt pschmitt added documentation Improvements or additions to documentation question labels Nov 9, 2021
@pschmitt
Copy link
Member

pschmitt commented Nov 9, 2021

Is this the recommended way of migrating?

Pretty much, yes!

Perhaps some documentation could be added to the README to help other users.

We need to do that, yes.

@pschmitt pschmitt added the faq A frequently asked question (FAQ) label Nov 9, 2021
@seasonedfish
Copy link
Author

Ah, thanks. I see the wiki page now. It looks good, but I think it should clarify that the zinit repo is by default ~/.zinit/bin.

@pschmitt
Copy link
Member

I'm not sure what you mean.

The installer echoes the install dir quite clearly.

Screenshot_20211110-203302.png

@seasonedfish
Copy link
Author

I mean in the wiki page. Currently, it says:

  1. Set zinit git remote url in the zinit repo: git remote set-url origin https://github.com/zdharma-continuum/zinit.git && git pull

I suggest writing:

  1. In your zinit installation directory (by default ~/.zinit/bin), set the new repository as the git remote: git remote set-url origin https://github.com/zdharma-continuum/zinit.git

This clarifies where to run the command and what the command does.

@pschmitt
Copy link
Member

Ohhhh right.

Can do! Thanks.

@pschmitt
Copy link
Member

@seasonedfish
Copy link
Author

Thank you!

@pschmitt pschmitt changed the title Question: how to migrate from old zinit? Question: How to migrate from zdharma/zinit? Nov 11, 2021
@mys721tx
Copy link

Other packages such as zdharma-continuum/fast-syntax-highlighting also needs updating.

@pschmitt
Copy link
Member

Maybe we should provide a script to do this automagically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation faq A frequently asked question (FAQ)
Projects
None yet
Development

No branches or pull requests

4 participants