To keep things in sync across any device I might be logged into, inspired by Brandon Ivergo I wanted a better way to manage my dotfiles, here it is.
Clone this repo to something like ~/.dotfiles then...
cd ~/.dotfiles
stow nvim
stow fish
stow whateverEach folder represents a "package" for a thing I want to sync. You can use stow
nicely symlink package/.config/package to /home/$USER/.config/package. It
looks a little goofy but keeps things neat in the end. And combine that with a
git repo to keep a portable and version controlled set of dotfiles!
If you add a new package in this manner and want to use the installer.sh script, theres a section you need to update in there.
.dotfiles
├── fish
│ └── .config
│ └── fish
│ └── main.fish
├── new_package
│ └── .config
│ └── new_package
│ └── .new_packagercRun the install.sh script and follow the prompts. If you don't have a package installed it will try to download it for you.
install.sh can be ran in -b (basic) mode or -f (full) mode. -f could just be called kitty mode as that is all the extra stuff that gets installed. Don't need kitty on something you'll only ssh into.
Run the uninstall.sh script and follow the prompts.