Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.15 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.15 KB

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)