-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Description
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)
Line 48 in ec4be28
| script_exist "$DOTFILES_PATH" "$context" "$script" && script_path="$DOTFILES_PATH" |
script_exist "$DOTFILES_PATH" "$context" "$script" && script_path="$DOTFILES_PATH"
script_exist "$DOTLY_PATH" "$context" "$script" && script_path="$DOTLY_PATH"
- Is this by design?
- Is it reasonable for you to swap the folder priority?
script_exist "$DOTLY_PATH" "$context" "$script" && script_path="$DOTLY_PATH"
script_exist "$DOTFILES_PATH" "$context" "$script" && script_path="$DOTFILES_PATH"
Metadata
Metadata
Assignees
Labels
No labels