On fresh install…
-
Install Command Line Tools:
xcode-select --install
git clone https://github.com/dnnsmnstrr/dotfiles.git && cd dotfiles && ./install
/usr/bin/ruby -e "$(curl -fsSL https:/raw.githubusercontent.com/Homebrew/install/master/install)"
&& cd dotfiles && source ./brew/brew.sh
-
Install BetterTouchTool license and presets (AquaTouch)
-
Symlink Alfred preferences
ln -s ~/dotfiles/alfred /Users/dm/Library/Application\ Support/Alfred/Alfred.alfredpreferences
-
Configure karabiner-elements
-
Create .path and .extra files in your root directory for path variables and confidential configs
-
Restore Backup from Atom Sync-Settings
- create access token
- Gist ID is
92968648b5ea54edbee216e87e52c15e
-
run
mackup
if you have used it to back up settings -
Create local zettelkasten instance
-
Add GPG keys to GitHub and other version control systems (also GPG)
- https://github.com/pstadler/keybase-gpg-github
init
The init script will:
-
Install NVM
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
-
Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- custom plugins
-
Install Mac-CLI
sh -c "$(curl -fsSL https://raw.githubusercontent.com/guarinogabriel/mac-cli/master/mac-cli/tools/install)"
Adding Apps, Aliases or Functions
To maintain the list of your installed apps, add them to their corresponding place in brew.sh
. Aliases and functions can be added to their respective files.
Updating
The .aliases
include an update
alias that will run all kinds of updaters. (even shorter: ud
)
Alternative: mac update
Troubleshooting
- brew permissions broken
sudo chown -R $(whoami) $(brew --prefix)/*
// get current gpg version path
ls -la /usr/local/bin/gpg
// symlink gpg2
ln -s ../Cellar/gnupg/{version}/bin/gpg /usr/local/bin/gpg2
- GPG signing broken
git config --global gpg.program $(which gpg)