get files locally
Assuming we are in our user's home directory
cd ~
- cloning repo
git clone --bare https://github.com/jesse-rb/dotfiles.git ~/.dotfiles
- for now, set alias to checkout repo, this line is also present in
.zshrcfor later
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
- checkout main branch
dotfiles checkout
- hide untracked files for dotfiles bare repo
dotfiles config --local status.showUntrackedFiles no
At this point all dotfiles should already be in place :D, no need to mv or cp things around (hopefully?)
install basics
- The available scripts are more for a list of commands for reference, there are additional steps in between such as sourcing
.zshrc, restarting terminal etc.
note Sourcing .zshrc might complain with warnings until some things referenced in the install scripts have been installed
e.g. cat ~/scripts/ubuntu-install.sh or cat ~/scripts/macos-install.sh