My configuration files, managed with chezmoi
.
-
Install Xcode from the App Store.
-
Agree to the license terms:
sudo xcodebuild -license
-
Install Homebrew (on Mac OS X):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Clone the repository into the home directory and install:
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply mganjoo
-
Temporarily add Homebrew to path:
eval "$(/opt/homebrew/bin/brew shellenv)"
-
Install Homebrew packages:
brew bundle --file ~/.Brewfile
-
Update all packages:
$(brew --prefix)/opt/fzf/install --completion --key-bindings --no-update-rc
-
Set ZSH as the default shell:
# On OS X chsh -s $(brew --prefix)/bin/zsh # On Ubuntu chsh -s /bin/zsh
Before running this command, add the path to the Homebrew ZSH to
/etc/shells
.
- Change Caps Lock key to act as Control key
- Install licenses for various brewed casks