Skip to content

Separation of project config and user config #936

@mavam

Description

@mavam

My config.toml sits in a git repo that I version control. But every new project that I create adds to the very same config file, preventing sharing of the config in a team setting or even just across machines.

Example:

[post-create]
graft = "~/.config/worktrunk/scripts/graft.py {{ worktree_path }} --remote-url '{{ remote_url }}' --branch '{{ branch }}'"

#
# ⚠️ This should not be here! I cannot share this with others as a result.
#
[projects]

[projects."github.com/tenzir/docs"]
approved-commands = [
    "bun install",
]

Can we have a separate, system-local file for the projects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions