This is my dotfiles for my system customizations and to setup my development environment.
- Homebrew
- Installs Homebrew AND brew install's all of my favourite packages
- Uses homebrew-cask to install all my applications
- RVM
- macOS
- Installs applications via the Mac App Store
- Git
- Git config
- Global gitignore
- Vim config
- SSH config
- Oh-My-Zsh
- Robbyrussell theme
- Aliases
- Arthur iTerm2 colors theme
- BetterTouchTool configuration
- VS Code configuration
Clone the project in your home directory :
$ cd ~
$ git clone git@github.com:guillaumebriday/dotfiles.git
$ cd dotfiles
Before running any commands, you must edit files according to your needs.
For exemple, open the brew/Brewfile
and remove applications you don't want to install from the list.
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
$ chmod u+x php/composer.sh # Make sure you can execute the file
$ php/composer.sh
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.
$ chmod u+x zsh/zsh.sh # Make sure you can execute the file
$ zsh/zsh.sh
$ 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/vscode.sh # Make sure you can execute the file
$ vscode/vscode.sh