47 lines
1.5 KiB
Markdown
47 lines
1.5 KiB
Markdown
# dotfiles
|
|
|
|
too many dotfiles
|
|
|
|
## Installation
|
|
|
|
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"`.
|
|
|
|
Install the essentials with `stow zsh vim git`.
|
|
|
|
## Notes
|
|
|
|
### Git
|
|
|
|
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).
|
|
|
|
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:
|
|
|
|
git update-index --skip-worktree git/.gitconfig
|
|
|
|
### 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`).
|
|
|
|
### KDE
|
|
|
|
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
|