2 ms·
Instead of having a dotfiles git repository, I find it more useful to have my entire `.config` directory be in a git repository, and by default ignore everythin
by andrewla 3y ago
Instead of having a dotfiles git repository, I find it more useful to have my entire `.config` directory be in a git repository, and by default ignore everything. My .gitignore then looks like
/*
!.gitignore
!/dotfiles
!/i3
!/git
and so on. Inside the `dotfiles` directory is non-hidden versions of all the home directory dotfiles, and a script to symlink from ~/.bashrc to ~/.config/dotfiles/bashrc.
I also make the .config directory visible; I use ~/config and symlink ~/.config to it.