Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.15 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.15 KB

My dotfiles

Nothing fancy. Feel free to take and use what you want. The instructions below are just for myself so I don't forget. I do not recommend running the setup on your computer…unless you're me?.

Setup

One-liner clone and setup for new machines:

bash -c "$(curl -fsL https://dub.sh/machine)"

What's happening?

The setup script simply clones this repo and unpacks its contents into ~ via rsync. Verbatim:

git clone --separate-git-dir="$HOME/.dotfiles" \
    https://github.com/jssee/.dotfiles.git tmp_dotfiles

rsync --recursive --verbose --exclude ".git" \
    --exclude "README.md" \
    --exclude "bootstrap" \
    --no-perms \
    tmp_dotfiles/ "$HOME/";

rm -r tmp_dotfiles;

Configuration is managed as a bare git repo.

SSH

  • Create SSH keys
  • Add SSH keys to your Github account with gh auth login
  • ...