Skip to content

Repository files navigation

roam

Way back when I realized I could reasonably manage my dotfiles just using git by setting status.showUntrackedFiles no. One caveat is that it's a little hard to tell what is or isn't managed. However, it's not too hard to check specific locations, e.g.,

roam status --untracked-files -- ~/bin

You can also still use .gitignore to ignore files you definitely do not want to ever manage.

This has served me well for over 15 years. My one slight annoyance is the manual set up required for a new host/account which this repo and this version of roam will address.

Installation

  1. Install Git.

  2. Setup Git access to GitHub.

  3. Install roam,

    go install github.com/nnutter/roam@latest
    
  4. Setup roam,

    roam setup -r <repo> -b <branch>
    

Shell Completion

Bash

complete -F _git roam

Maybe somehow also use,

-o bashdefault -o default -o nospace

Zsh

roam generate zsh

This writes _roam to ~/.local/share/zsh/site-functions. Use --out to choose another directory and --force to overwrite an existing file.

About

Just use Git to manage your dotfiles

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages