Systemsettings
| .byobu | ||
| .config | ||
| .elinks | ||
| .gnupg | ||
| .local | ||
| .nano | ||
| .newsboat | ||
| .vim | ||
| .colordiffrc | ||
| .curlrc | ||
| .gitconfig | ||
| .gitmodules | ||
| .gtkrc-2.0.mine | ||
| .gvimrc | ||
| .nanorc | ||
| .npmrc | ||
| .pre-commit-config.yaml | ||
| .ptignore | ||
| .stalonetrayrc | ||
| .vimrc | ||
| .XCompose | ||
| .xinitrc | ||
| .Xresources | ||
| .xsessionrc | ||
| .zshrc | ||
| LICENSE | ||
| README.md | ||
systemsettings
These are my config files, feel free to use them as an inspiration. If you have any questions, please file an issue.
Bootstrapping
#! /bin/sh
TMPDIR=$(mktemp -u -p "$HOME" -d dotfiles.XXXXX)
git clone --separate-git-dir="$HOME/.cfg" https://github.com/schtobia/dotfiles.git "$TMPDIR"
[ -r "$TMPDIR/.gitmodules" ] && cp -vi "$TMPDIR/.gitmodules" "$HOME"
git --git-dir="$HOME/.cfg/" --work-tree="$HOME" config status.showUntrackedFiles no
rm -r $TMPDIR
Alias
alias config='git --git-dir="$HOME/.cfg/" --work-tree="$HOME"'
References
This is partly based on the solution presented on HN.