-
Notifications
You must be signed in to change notification settings - Fork 117
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
zimfw does not allow to install github's modules #224
Comments
Yes, Not sure but maybe your dotfiles are older to the PR #192 Currently zimfw is installed in its own folder instead of use it as submodule. Try by uninstalling zimfw submodule, upgrade dotly and execute Uninstall submodulesubmodule="modules/zimfw"
cd "$DOTFILES_PATH"
git submodule deinit -f -- "$submodule"
git rm -f "$submodule"
git commit -m "Removed submodule '$submodule'"
rm -rf ".git/modules/${submodule}"
echo "Submodule '${submodule}' uninstalled" Upgrade DotlyMake sure you commit a changes to a new branch if you have changes of your Dotly. cd "$DOTLY_PATH"
git push --set-upstream origin main
git reset --hard HEAD
git fetch -ap
git pull main Now it is time to execute: dot self install |
mmh 🤔 I think I didn't have it install as a submodule, but after dot-self install, I got it back working! Now zim installs it by cloning it, good!
I don't know if I should git-ignore it or I should add it as a submodule and embrace it 🤔
|
@rgomezcasas I solved this on my fork by installing zimfw with a recipe which is called in
Offtopic: With these libraries I also modify how |
Add to |
key-important making any zim module we install with zimfw compatible with dotly, otherwise we fill the repo with unwanted submodules to cope with each time we commit-push our dotfiles! Makes sense, thanks @rgomezcasas I'd say this is a feature everybody needs 😉 |
I use my own zim theme forked by ZIM's oblong, and in order to use it I used to add it to my modules and execute
zimfw uninstall && zimfw install
.This used to work before installing dotly. Now, adding a github module the way is documented here does not work:
cat zimrc:
I don't know if it's because the zim version dotly adopts, I've been using way too little time dotly to dig further more into this right now 😅. is it maybe because the way the submodules are set?
the workaround is copying the module myself, but I'd loose the chance of upgrading the module automatically
The text was updated successfully, but these errors were encountered: