dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Configs for apps I care about

Dotfiles

TODO:

  • change links curl files :)
  • replace cat EOF install code with echo and raw newlines cause that actually works in zsh :)

Store configuration for common apps.

Use fling to manage most app configs.

Install/Uninstall a config

Install/Symlink

fling --ignore 'README.*' --src-dir <dirname> link

fling will prompt before symlinking

Uninstall/Unlink

fling --ignore 'README.*' --src-dir <dirname> unlink

fling will prompt before unlinking

Apps that cannot be installed with fling

  • vscode has an install script in the subfolder

Add a flingable 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

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


Use https://levelup.gitconnected.com/how-to-update-fork-repo-from-original-repo-b853387dd471 to fork this repo, add features, make PRs, and keep it all synced.

Basically, fork, clone locally, and:

# add original repo to git config
$ git remote add upstream https://github.com/bbkane/dotfiles.git
$ git pull upstream master
$ git push origin <branch_name>

TODO

  • Maybe get a better git prompt and tmux conf from https://github.com/mathiasbynens/dotfiles
  • zsh compinstall
  • zsh fasd
  • zsh typeahead - in ~/.zshrc for now