Skip to content

JosiahBradley/dotfiles

 
 

Repository files navigation

Dotfiles

Store configuration for common apps.

Use stow to manage most app configs. See ./stow.sh.

Install/Uninstall a config

Apps that cannot be installed with stow.sh

  • vscode has an install script in the subfolder

Install/Symlink

./stow.sh <dir>

This script will do a dry-run and prompt before symlinking

Uninstall/Unlink

./stow.sh -D <dir>

Add a stowable config to the repo

  • make a directory with the name of an app
  • mirror app config's file structure from ~ into ./<app>/, replacing leading . with dot-. For example, if your app's config is stored at ~/.myapp/config, then make ./dot-myapp/config
  • run ./stow.sh <app> then the app and make sure it picks up the config

Notes

Why store config per app rather than per platform?

  • I can easily see which apps have configs stored in this repo
  • I want to target which configs are deployed
  • Most of my work is on Mac, not the various Linux distros I used to play with

The cat commands need to quote 'EOF' to not expand variables. See https://stackoverflow.com/a/27921346/2958070


TODO

About

Configs for apps I care about

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 49.8%
  • Python 31.3%
  • Shell 18.3%
  • Other 0.6%