Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.1 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.1 KB

Why?

Because storing cross-machine config is cumbersome. Installing Git is — for the most part — easy.

Installation

macOS

#!/usr/bin/env sh
xcode-select --install

git clone https://github.com/nonrational/dotfiles .dotfiles
cd .dotfiles

make brew-install
make brew-bundle

if [ -f /opt/homebrew/bin/bash ]; then
  echo '/opt/homebrew/bin/bash' | sudo tee -a /etc/shells
  chsh -s '/opt/homebrew/bin/bash'
else
  echo 'Unable to set default shell to `/opt/homebrew/bin/bash`'
fi

# Better get a new terminal at this point.
make link-dotfiles
make link-karabiner
make link-sublime
make restore-preferences

# Almost there! Good idea to restart iTerm now, and take the opportunity to
# ensure it has full disk access.
make macos-reset-dock
make macos-disable-restore-apps-on-login
make macos

GNU/Linux

#!/usr/bin/env sh

git clone [email protected]:nonrational/dotfiles .dotfiles
cd .dotfiles

make link-dotfiles

Development

Since live-copies are symlinked out, commit and push changes as necessary.

For big refactors, don't try to do it live. Clone a separate copy.