bootstrap folder creation #17

Closed
opened 2023-01-07 14:36:05 +00:00 by Marty · 1 comment
Owner

For bootstrapping initially run stow twice: Once in dryrun mode to capture all directories that would be created. Use this to actually create all directories (mkdir -p). Only afterwards run stow and actually execute. Now, files are linked as leaf files with folder created as necessary, instead of linking whole folders wich sometimes interferes with the repo when additional (cache, config, coloring) files get dropped into the directories over time.

For bootstrapping initially run stow twice: Once in dryrun mode to capture all directories that would be created. Use this to actually create all directories (mkdir -p). Only afterwards run stow and actually execute. Now, files are linked as leaf files with folder created as necessary, instead of linking whole folders wich sometimes interferes with the repo when additional (cache, config, coloring) files get dropped into the directories over time.
Author
Owner

Since 5e53105 we use dotter for bootstrap management, which automatically only links leaf nodes.

Since 5e53105 we use dotter for bootstrap management, which automatically only links leaf nodes.
Marty closed this issue 2024-02-05 08:07:35 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Marty/dotfiles#17
No description provided.