Helps centralize dotfiles to a single repository

remove echo's; make sure new directories in ~/dotfiles actually get created

nnuuvv 67353973 c7d130fc

Changed files
+10 -3
src
+2 -1
README.md
··· 8 8 - add <path> | add an existing dot file to the ~/dotfiles repo and set up the symlink 9 9 - add submodule <link> <path> | like add, but it will be added as a submodule 10 10 11 - TODO: builds and releases 11 + TODO: 12 + - builds and releases 12 13 13 14 --- 14 15 #### Usage examples
+8 -2
src/dotfiles.gleam
··· 196 196 /// Returns the original spec 197 197 /// 198 198 fn move_config_to_dotfiles(spec: Spec, home) { 199 + // make sure the dotfiles path exists 200 + let _ = 201 + simplifile.create_directory_all( 202 + filepath.directory_name(filepath.join(home, spec.dotfiles_path)), 203 + ) 204 + 199 205 simplifile.rename( 200 206 filepath.join(home, spec.target_path), 201 207 filepath.join(home, spec.dotfiles_path), ··· 274 280 "--symbolic", 275 281 "--no-dereference", 276 282 "--force", 277 - dotfiles_path |> echo, 278 - target_path |> echo, 283 + dotfiles_path, 284 + target_path, 279 285 ], 280 286 in: ".", 281 287 opt: [],