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

Multiple sections in dotfile would become unwieldy #4

Closed
Timoses opened this issue Jul 15, 2018 · 1 comment
Closed

Multiple sections in dotfile would become unwieldy #4

Timoses opened this issue Jul 15, 2018 · 1 comment
Labels

Comments

@Timoses
Copy link
Owner

Timoses commented Jul 15, 2018

There may be more appropriate structures than using sections within a single dotfile.

Ideas might be

  • DotfiM profiles #3 profiles and Control comments #7 control comments present a viable alternative to sections.
  • Add a section to the dotfile that 'sources' (is this possible for all dotfiles?? Can all dotfiles source other files?!) the appropriate files. In regard to DotfiM profiles #3 this could relate to sourcing a "common" profile dotfile and others.
    • A possible solution could be to only use "sourcing" when the dotfile supports it (asking the user for the source command), in other cases "profile sectioning" has to be used.
@Timoses
Copy link
Owner Author

Timoses commented Dec 21, 2018

Since #7 is implemented, the new approach is to use Passages. These can appear anywhere in the dotfile and are synced accordingly. The order of passages should remain intact when syncing between git- and dotfile.

@Timoses Timoses closed this as completed Dec 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant