No description
Find a file
2025-10-01 09:11:45 +02:00
.github/workflows initial creation 2025-09-27 16:20:33 +02:00
src handle root properly. and rearrange some code 2025-10-01 09:11:45 +02:00
test initial creation 2025-09-27 16:20:33 +02:00
.gitignore initial creation 2025-09-27 16:20:33 +02:00
gleam.toml initial creation 2025-09-27 16:20:33 +02:00
manifest.toml initial creation 2025-09-27 16:20:33 +02:00
README.md remove echo's; make sure new directories in ~/dotfiles actually get created 2025-09-27 17:05:13 +02:00

dotfile_helper

Features

  • new | set up a fresh repo in ~/dotfiles
  • init | initialize symlinks based on existing ~/dotfiles repo
  • init | like init, but clones the supplied repo to ~/dotfiles first
  • add | add an existing dot file to the ~/dotfiles repo and set up the symlink
  • add submodule | like add, but it will be added as a submodule

TODO:

  • builds and releases

Usage examples

Initial setup

gleam run new 

Adding a local config

gleam run add ~/.config/wezterm

Adding a config that is already tracked elsewhere

gleam run add submodule git@git.nuv.sh:nuv/nvim ~/.config/nvim

The link git@git.nuv.sh:nuv/nvim and the path ~/.config/nvim are directly passed to
git submodule add <link> <path> running in ~/dotfiles

Setting up a new device with an existing dotfiles repo

gleam run init git@git.nuv.sh:nuv/dotfiles