/dot

shared configs across computers

Primary LanguageShellMIT LicenseMIT

.dot

Managing files (configs, run commands, fonts, ...) across computers because rsyncing and mving gets tedious

Install & use

Creating a unique git directory and aliasing to dot so git status doesn't show everything in every subfolder under /Users/you/*.

cd $HOME
git init --bare $HOME/.dot/.git

# Ignore all files
echo '*' > .dot/.git/info/exclude

alias dot="/usr/bin/git --git-dir="$HOME/.dot/.git" --work-tree=$HOME"
dot remote add origin https://www.github.com/joeysapp/dot.git

# Sync up to repo, overrides local files
dot fetch
dot reset --hard origin/master

Specifics

Firefox

  • Goto about:profiles on Firefox, create a new default profile pointing here.
  • userChrome is for the application window itself
    • I want each tab on Firefox to have a custom font
  • userContent is custom css styling for websites
    • "I want to always hide a certain div on a certain site"
    • "I want the youtube player to utilize the entire app window 100%"

Verifying/Cleanup

Run this command at $HOME to view all tracked files:

$ dot ls-tree --full-tree -r master --name-only

[ref] https://stackoverflow.com/questions/15606955/how-can-i-make-git-show-a-list-of-the-files-that-are-being-tracked

Reading