Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am torpeanders on github.
  • I am anr78 (https://keybase.io/anr78) on keybase.
  • I have a public key whose fingerprint is 5722 2117 1B9B FA16 AB90 7F2B 1088 6A3C 6259 97F9

To claim this, I am signing this object:

@torpeanders
torpeanders / cfg-setup
Last active August 2, 2019 06:22
cfg-setup
git clone --bare git@github.com:torpeanders/cfg.git $HOME/.cfg
function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
}
mkdir -p .config-backup
config checkout
if [ $? = 0 ]; then
echo "Checked out config.";
else
echo "Backing up pre-existing dot files.";