My setup... dotfiles, aliases, functions, preferences, apps. Everything.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
dotfiles
functions
preferences
scripts
.editorconfig
.gitignore
.kaboom.gif
LICENSE
README.md

README.md

MoOx setup

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

kaboom

From time to time

zprezto-update

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_NAME=MoOx
export SETUPSH_GIT_EMAIL=
export SETUP_PATH=$HOME/setup

# Ask for the administrator password upfront
sudo -v

# security
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 0
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 1
sudo launchctl load /System/Library/LaunchDaemons/com.apple.alf.agent.plist 2>/dev/null
sudo defaults write /Library/Preferences/com.apple.loginwindow 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."

# install pretzo
# https://github.com/sorin-ionescu/prezto/#installation
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"

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

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

# Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

git clone https://github.com/$SETUPSH_GIT_NAME/setup.git $SETUP_PATH

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

sourceFiles $SETUP_PATH/preferences/*.prefs

dotfiles

mv $HOME/Library/Application\ Support/Code/User SETUP_PATH/dotfiles/.vscode-Library___Application\ Support___Code___User || mkdir -p $HOME/Library/Application\ Support/Code
ln -s SETUP_PATH/dotfiles/.vscode-Library___Application\ Support___Code___User $HOME/Library/Application\ Support/Code/User

source $SETUP_PATH/.zshrc

macos-hidden-show

brew cask install "syncthing-bar"

# then configure syncthing and way for the sync

source ./setup/scripts/custom-folders.sh

brew install mas

mas signin --dialog $SETUPSH_GIT_EMAIL

brew bundle

# https://github.com/jasongin/nvs
export NVS_HOME="$HOME/.nvs"
git clone https://github.com/jasongin/nvs "$NVS_HOME"
. "$NVS_HOME/nvs.sh" install
nvs add node/8
nvs link 8

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

Also good to do