My settings, mostly focused on simple bash and vim defaults.
Fork and clone to your home directory, then run make
.
Better yet, read over what that will do and tweak it to not screw your system up. Many defaults in homedir/bash_profile can be toggled by commenting/uncommenting lines.
/install.sh
: Symlink dotfiles from/homedir
to your$HOME
directory. I think this should work on its own.Brewfile
: Bootstrap my system (check what in there you want personally)
/homedir/
: location of all loading scripts (.bash_profile
,.vimrc
etc) to be symlinked to$HOME
/scripts/
: simple bash helper functions, aliases and more. Optionally put your ownsecrets.sh
there so you can define secret environment variables (similar to a.env
file)
- Began with https://github.com/MikeMcQuaid/strap
- Then cloning this repo and
brew bundle Brewfile
including some assumptions:- java8 and java (latest) both required? i suppose... :/
- install & manage python via pyenv
- powerline-friendly fonts are installed from brew - must set them in terminal preferences
pip install -r ./requirements.txt
-> install powerline-shell (this kind of depends on which python version you are using so may need to be installed multiple times?)- nvm did not install correctly from Brewfile, had to do it manually
- Backblaze required followup from looking at
brew info backblaze
(to run the installer) - Installed yarn following website directions:
brew install yarn --without-node
(as of now) - Set up vundler
- Don't forget secrets.sh if you have them. They might look like this:
!/usr/bin/env bash
echo "loading secrets"
export AWS_ACCESS_KEY_ID=abc123
export PASSWORD=password123!
alias generate-secret-token='curl "https://mytokenapi.com?access-key=$PASSWORD"'
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false defaults write com.sublimetext.3 ApplePressAndHoldEnabled -bool false defaults write com.github.atom ApplePressAndHoldEnabled -bool false
defaults write com.apple.screencapture location /path/; killall SystemUIServer
- Mongodb repair like here- may need to
brew info <mongopackage>
to find location of mongod executable https://docs.mongodb.com/manual/tutorial/recover-data-following-unexpected-shutdown/ - dblock's article about mongo speed in testing (affects steps for mongodb recovery/repair too)
install.sh
is floating around github and I don't know who the original author is