-
Use Safari to add your SSH keys to github. Clone the repository. In macos terminal simply
bashwill do. -
To update,
cdinto your localdotfilesrepository and then (remember to use bash):
source bootstrap.shAlternatively, to update while avoiding the confirmation prompt:
set -- -f; source bootstrap.sh- Here’s an example
~/.pathfile that adds/usr/local/binto 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="[email protected]"
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