This is my dotfiles for my system customizations and to setup my development environment.
What's included ?
- Installs Homebrew AND brew install's all of my favourite packages
- Uses homebrew-cask to install all my applications
- Installs applications via the Mac App Store
- Git config
- Global gitignore
- Vim config
- SSH config
- Robbyrussell theme
- Arthur iTerm2 colors theme
- BetterTouchTool configuration
- VS Code configuration
Packages and applications are installed with https://brew.sh/.
$ chmod u+x brew/brew.sh # Make sure you can execute the file $ brew/brew.sh
Ruby is manage with https://rvm.io.
$ chmod u+x ruby/rvm.sh # Make sure you can execute the file $ ruby/rvm.sh $ ln -fs ~/dotfiles/ruby/.gemrc ~/ $ ln -fs ~/dotfiles/ruby/.irbrc ~/
PHP with composer
$ chmod u+x php/composer.sh # Make sure you can execute the file $ php/composer.sh
Sensible macOS defaults
When setting up a new Mac, you may want to set some sensible macOS defaults.
$ xcode-select --install $ chmod u+x ./macOS/.macos # Make sure you can execute the file $ ./macOS/.macos $ sudo cp ~/dotfiles/macOS/nsmb.conf /etc/nsmb.conf
Nothing to install here, link the content of the Git folder into your home :
$ find ~/dotfiles/git -type f | xargs -I file ln -fs file ~/
Nothing to install here, link the content of the GPG folder into your home :
$ ln -fs ~/dotfiles/gpg/gpg-agent.conf ~/.gnupg
Same here, link the
vimrc file into your home folder.
$ ln -fs ~/dotfiles/vim/.vimrc ~/
Configuration file for ssh keys.
$ cp ssh/config ~/.ssh/config
Here too, link the zsh config file to your home folder.
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # install oh-my-zsh $ ln -fs ~/dotfiles/zsh/.zshrc ~/ $ touch ~/.hushlogin # If you want to hide the last login banner on logging
$ chmod u+x iTerm2/iterm.sh # Make sure you can execute the file $ iTerm2/iterm.sh
Once the theme is downloaded, you can modify your iTerm2 settings in the app.
It's an export of my BTT configuration. To install, import it into BTT.
Install extensions :
$ chmod u+x ./vscode/package.sh # Make sure you can execute the file $ ./vscode/package.sh
To link my configuration :
$ find ~/dotfiles/vscode -name '*.json' | xargs -I file ln -fs file ~/Library/Application\ Support/Code/User/