refactor(template): generalize project config for lab members
- Stop tracking settings.local.json; commit base settings.json instead - Scope file permissions to workspace/ and .claude/ as safer default - Add .gitignore entries for .claude runtime files (scheduled_tasks, keybindings) - Annotate _LINK_MAP in init.py as user-customizable - Strip personal references from workspace CLAUDE.md template
This commit is contained in:
@@ -12,6 +12,10 @@ console = Console()
|
||||
stderr_console = Console(stderr=True)
|
||||
|
||||
# Link name -> list of environment variable names to try, in order.
|
||||
#
|
||||
# Customize this dict for your own projects. Each entry creates a symlink
|
||||
# from workspace/<name> to the target path resolved from one of the env vars.
|
||||
# Users define the corresponding env vars in their shell config (e.g. ~/.zshrc).
|
||||
_LINK_MAP: dict[str, list[str]] = {
|
||||
"myacademia": ["path_myacademia"],
|
||||
"myslides": ["path_myslides", "MYSLIDES_ROOT"],
|
||||
|
||||
Reference in New Issue
Block a user