dotfiles/README.md

19 lines
561 B
Markdown
Raw Normal View History

# systemsettings
2013-08-29 11:08:56 +02:00
2018-05-29 14:25:46 +02:00
These are my config files, feel free to use them as an inspiration. If you have any questions, please file an issue.
## Bootstrapping
2018-07-13 10:16:02 +02:00
```bash
#! /bin/sh
TMPDIR=$(mktemp -u -p "$HOME" -d dotfiles.XXXXX)
2018-07-13 10:16:02 +02:00
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
```
2018-07-13 10:16:02 +02:00
## Alias
alias config='git --git-dir="$HOME/.cfg/" --work-tree="$HOME"'