Skip to content

More than a dotfile to save preferences, a one-command full environment setup.

License

Notifications You must be signed in to change notification settings

enorms/mac-init

Repository files navigation

mac-init

Full environment with preferences and installed software for initial install and on-going sync between devices.

Usage - Initial

Install XCode and accept license, via app store

Install XCode CLT xcode-select --install

Download latest setup file and run.

curl --silent https://raw.githubusercontent.com/lifekaizen/mac-init/master/setup-mac-os.sh | bash

Link gitconfig. ln -s ~/dev_local/mac-init/dot_config/.gitconfig ~/.gitconfig

Execute bootstrap function freely which in turn executes the bootstrapping script.

Modifications after install

Use version controlled files

% ln -s <path_to>/mac-init/dot_config/.zshrc ~/.zshrc

# check
% ls -l ~/.zshrc
# lrwxr-xr-x  1 <user>  staff  45 <date> /Users/<user>/.zshrc -> /Users/<user>/<path>/mac-init/dot_config/.zshrc

Anaconda

Update path export PATH=/usr/local/anaconda3/bin:$PATH

To run: source /usr/local/anaconda3/bin/activate

Android Tools:

Update path

export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools

Lyx

Update path

export PATH=/usr/local/texlive/2018/bin:$PATH
export PATH=/usr/local/texlive/2018/bin/x86_64-darwin/xelatex:$PATH
export PATH=/usr/local/texlive/2018/bin/x86_64-darwin:$PATH
export PATH=/usr/local/texlive/2018/texmf-dist/tex/latex:$PATH
export PATH=/usr/local/texlive/2018/texmf-dist/tex/:$PATH

Usage - Maintain

Applications

Save all installed:

brew bundle dump --all --describe --file=Brewfile

Check for missing applications:

brew bundle check -v --all --file={PATH}

Remove unneeded applications

brew bundle cleanup --force --file=[path]

Check for outdated and upgrade:

brew outdated
brew upgrade

Extra

TODO

store basic dotfiles

choose brew and cask install applications and dev environments

Check missing packages: brew list --cask May need to be in dir with Brewfile

Reference

mac os empire article

corresponding repo

flush out decision space

TODO: link ~/.config/karabiner/assets/*

TODO .gitconfig > signingkey

About

More than a dotfile to save preferences, a one-command full environment setup.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •