Skip to content

Piraty/dotfiles

Repository files navigation

My dotfiles

How to replicate

based on: https://news.ycombinator.com/item?id=11071754

# clone + setup
GITHUB_USER="<CHANGEME>"
REPO=https://github.com/${GITHUB_USER:-piraty}/dotfiles.git
git clone --separate-git-dir=$HOME/.dotfiles.git $REPO $HOME/myconf-tmp
rm -r $HOME/myconf-tmp/
alias dotfiles='git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME'
dotfiles config status.showUntrackedFiles no

# inspect conflicts + checkout
cd $HOME
dotfiles status # check for modified files and move them
dotfiles checkout $HOME

# install files to non-static locations
. $HOME/install.sh

Dependencies

(at least the most important ones)