-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Allow user to specify the target directory #255
base: master
Are you sure you want to change the base?
Conversation
A new default target can be set using: * A target option in rcrc(5) * -T flag A per-dotfiles target can be set using a target manifest file
A few things to discuss: expanding environment variables in the If this dependency is a problem, however, I'm sure we can make it work by passing the internals to |
OK this diff isn't so bad -- we might have a good compromise here. I'll have to review it more carefully, but in the meantime I want to pop in to say: thank you! |
Any progress on this PR? Really hope this can be merged soon. |
This PR would add alot of value for me. |
Cool implementation, thank you for this! Hope you're still around.
Most of my computers don't have much GNU code on them, so I'd prefer to find something in POSIX that we can rely on. I don't see envsubst in the OpenBSD man pages, for example. (It can be installed as a package, but at that point I'd just have people install a Rust compiler or whatever and stop maintaining painful shell code.) This adds a new metafile, |
Yep, still around, although admittedly not using rcm as much at the moment and I have not very much availability to tweak this patch. Rethinking this through, I still think the patch is useful but I'm less convinced that the target meta-file is absolutely necessary. This is because the user can just maintain one rcm directory for each target. The behaviour of checking multiple directories and falling back to the default isn't really necessary either since the user could do something like I agree that To drop the dependency, somebody needs to hack together a POSIX-compliant implementation in pure sh. Note that it'll probably be less secure since it might depend on exec. |
A new default target can be set using: * A target option in rcrc(5) * -T flag (based on the work in thoughtbot#255) for thoughtbot#246
A new default target can be set using: * A target option in rcrc(5) * -T flag (based on the work in thoughtbot#255) for thoughtbot#246
A new default target can be set using:
A per-dotfiles target can be set using a target manifest file.
Provides a solution to issue #246.