feat(config): user-dots convenience symlink with config-settings toggle #69
Reference in New Issue
Block a user
Delete Branch "feat-user-dots-symlink"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a git-ignored
user-dotssymlink in the fish config directory that points at$__fish_user_dots_path, so the private overlay can be browsed from~/.config/fish/— plus a dedicated toggle to opt out.__fish_user_dots_pathchanges (cheap: onereadlinkper startup,lnonly on mismatch)__fish_config_op_autoexec); C2 master-off suppresses it like every other C2 itemDedicated toggle
__fish_user_dots_symlinkgets its own control — Dots link on the Paths page ofconfig-settings. Unlike the opinionated categories it has no universal/session split, since it acts on a literal path. Setting it falsy (or toggling off) stops generation and removes any existing link immediately, honoured regardless of the C2 master switch.Logic lives in the new
__fish_user_dots_linkhelper, called fromconfig.fishand from the TUI on toggle.Docs
docs/fish-config.md: C2 table, config-settings Paths page, machine-local sectiondocs/fish-config.index:user-dots/dots-linkkeywordsManual Verification
rm ~/.config/fish/user-dots, open a new interactive shell → link is recreated pointing at$__fish_user_dots_pathln -sfn /tmp ~/.config/fish/user-dots, open a new shell → link is repointed back to the overlay pathconfig-settings→ Paths page shows a Dots link row; toggle it off (←/h) → existinguser-dotslink is removed immediately__fish_config_op_autoexec=0after removing the link → link is not created (C2 gate)~/.config/fish/user-dots→ it is left untouched (not clobbered)git statusshowsuser-dotsis ignored (not tracked)feat(config): auto-manage user-dots convenience symlinkto feat(config): user-dots convenience symlink with config-settings toggle