-
Use Safari to add your SSH keys to github. Clone the repository. In macos terminal simply
bash
will do. -
To update,
cd
into your localdotfiles
repository and then (remember to use bash):
source bootstrap.sh
Alternatively, to update while avoiding the confirmation prompt:
set -- -f; source bootstrap.sh
- Here’s an example
~/.path
file that adds/usr/local/bin
to the$PATH
:
export PATH="/usr/local/bin:$PATH"
- Add custom commands without creating a new fork to
~/.extra
# Git credentials
# Not in the repository, to prevent people from accidentally committing under my name
GIT_AUTHOR_NAME="Batjaa Batbold"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="batjaa0615@gmail.com"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"
-
Get Homebrew and then run
./brew.sh
-
Set defaults:
./.macos
-
Configure Hammerspoon
-
Install Hammerspoon
brew install hammerspoon
- Install SpoonInstall
unzip ~/Downloads/SpoonInstall.spoon.zip -d ~/.hammerspoon/Spoons/
- Copy config
cp .hammerspoon/init.lua ~/.hammerspoon/init.lua
- Sign ing
- Configure
- Apply license
- Update hotkey
- Enable clipboard history - change hotkey to cmd shift c
- Ben Bernard and his homedir repository
- Mathias Bynens and his dotfiles repository
- Addy Osmani and his dtofiles repository