2022-05-11 20:02:19 -04:00
|
|
|
# dotfiles
|
2022-06-06 12:12:26 -04:00
|
|
|
|
2022-05-11 20:02:19 -04:00
|
|
|
too many dotfiles
|
2022-10-15 19:19:55 -04:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2023-07-12 01:22:07 -04:00
|
|
|
Use [GNU Stow][stow] (`apt install stow`, etc.). The repo has a `.stowrc` which
|
|
|
|
should target your home directory as the installation directory, but in some
|
|
|
|
cases the `~` may not be evaluated and you'll have to specify
|
|
|
|
`--target="$HOME"`.
|
2022-10-15 19:19:55 -04:00
|
|
|
|
2023-07-12 01:11:18 -04:00
|
|
|
Install the essentials with `stow zsh vim git`.
|
2022-11-16 22:06:44 -05:00
|
|
|
|
|
|
|
## Notes
|
|
|
|
|
|
|
|
### Git
|
|
|
|
|
2023-07-12 01:22:07 -04:00
|
|
|
Most of my git configuration lives in `~/.config/git/personal.gitconfig`, which
|
|
|
|
is `include`d from `~/.gitconfig`. I do this to separate system-specific
|
|
|
|
configuration that may be set by automated tools (i.e. the Github CLI setting up
|
|
|
|
credential managers for guthub.com and gist.github.com) from my personal,
|
|
|
|
cross-platform configuration (e.g. my identity and aliases).
|
2022-11-16 22:06:44 -05:00
|
|
|
|
2023-07-12 01:22:07 -04:00
|
|
|
Keep configuration that should be synced between computers in the
|
|
|
|
`personal.gitconfig` file, and after cloning the repository, consider telling
|
|
|
|
Git to ignore local changes to the main `.gitconfig` file:
|
2022-11-16 22:06:44 -05:00
|
|
|
|
|
|
|
git update-index --skip-worktree git/.gitconfig
|
2022-11-16 22:08:08 -05:00
|
|
|
|
2023-07-14 16:13:47 -04:00
|
|
|
### zsh
|
|
|
|
|
|
|
|
The zsh config has secrets now, because of the prompt username color fetching
|
|
|
|
thing. You'll probably want to avoid committing your secrets:
|
|
|
|
|
|
|
|
git update-index --skip-worktree zsh/.config/zsh/config.d/00_secrets.zsh
|
|
|
|
|
|
|
|
The prompt will still work if you don't fill in anything in that file, it'll
|
|
|
|
just always be the default color (your terminal's `cyan`).
|
|
|
|
|
2022-11-16 22:13:00 -05:00
|
|
|
### KDE
|
2022-11-16 22:08:08 -05:00
|
|
|
|
2023-07-12 01:22:07 -04:00
|
|
|
Files in `~/.local/share/color-schemes` come from [my repo of KDE titlebar color
|
|
|
|
schemes][colors].
|
|
|
|
|
|
|
|
[stow]: https://www.gnu.org/software/stow
|
|
|
|
[colors]: https://github.com/eritbh/kde-application-titlebar-themes
|