-
Notifications
You must be signed in to change notification settings - Fork 115
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
Override a script provided by dotly with a customized version #238
Comments
This is done in my fork, you can see how to do it here: https://github.com/gtrabanco/dotSloth/blob/961d348011957b339d1b9b49a87b89cb5bcb9606/bin/dot#L152 Important if you decide to use my fork! It also changes the way scripts are loaded to avoid load all libraries again it can have different features than Dotly and some scripts can not work. |
Thank you @gtrabanco I'll have a look at it. How hard do you think the migration is? |
Should not be so difficult depending on how many stuff do you have, you can copy your .dotfiles and use the migration script I did and see what will happen 🤣 |
Hi! 👋
Thank you for this effort. I think is great!
I'm trying to write a customized version of a dotly provided script using a dotfiles' script replacement that has the very same script name. I want this new version to override the one provided by dotly framework. However
bin/dot
command always selects the dotly version first.It doesn't works like that because
bin/dot
command is pritoritizing$DOTLY_PATH
over$DOTFILES_PATH
(last present script file wins)dotly/bin/dot
Line 48 in ec4be28
The text was updated successfully, but these errors were encountered: