My setup... dotfiles, aliases, functions, preferences, apps. Everything.
Shell JavaScript AppleScript Ruby CSS CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

MoOx setup

Dotfiles, aliases, functions, preferences, apps. Everything.


From time to time


git -C $SETUP_PATH pull origin master

source $SETUP_PATH/dotfiles/.zshrc

sourceFiles $SETUP_PATH/preferences/*.prefs

brew upgrade

brew bundle check

First run

Open App Store, get your apps you download from this place (hello Xcode), then

export SETUPSH_GIT_EMAIL=***************************
export SETUP_PATH=$HOME/setup

# Ask for the administrator password upfront
sudo -v

# security
defaults write askForPassword -int 1
defaults write askForPasswordDelay -int 0
sudo defaults write /Library/Preferences/ globalstate -int 1
sudo launchctl load /System/Library/LaunchDaemons/ 2>/dev/null
sudo defaults write /Library/Preferences/ LoginwindowText  "Found this computer? Please contact $SETUPSH_GIT_NAME at $SETUPSH_GIT_EMAIL for a reward.\nVous avez trouver cet ordinateur? Merci de contacter $SETUPSH_GIT_NAME à $SETUPSH_GIT_EMAIL pour une récompense."

# define zsh as default shell
chsh -s /bin/zsh $USER
# use zsh now

# Command Line Tools (CLT) for Xcode
xcode-select --install
sudo xcodebuild -license

# install pretzo
git clone --recursive "${ZDOTDIR:-$HOME}/.zprezto"

# Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL"

# install/setup sync strategy before registring dotfiles & stuff that might need synced files (eg: for git ssh config etc)

brew cask install "syncthing-bar"

# then configure syncthing and way for the sync

source ./setup/scripts/

# get setup and dotfiles now that we have launched sync

git clone$SETUPSH_GIT_NAME/setup.git $SETUP_PATH

for file in $SETUP_PATH/functions/*; do; source $file; done

sourceFiles $SETUP_PATH/preferences/*.prefs


source ~/.zshrc


brew install mas


brew bundle

export NVS_HOME="$HOME/.nvs"
git clone "$NVS_HOME"
. "$NVS_HOME/" install
nvs add node/10
nvs link 10

# safer than rm
yarn global add trash-cli
# lock cli command
yarn global add lock-cli

Also good to do