Configuration for iTerm2, Mise, Z Shell, Vim, Ruby, Git and other software development tools.
Clone the dotfiles repo into your home folder so it is located at ~/dotfiles.
The homebrew directory contains a Brewfile containing a list of packages for MacOS as well as extensions VS Code. They list includes some commonly used dependencies and development tools for working on Ruby on Rails applications and related software, such as Dockerfiles.
To use this, first of all install the homebrew package manager. Then navigate to the repo's /homebrew directory and run the terminal command:
brew bundleFor more information about using Brewfiles see the following homebrew documentation page:
Install using homebrew.
brew install miseOpen iTerm2 then navigate to the Settings tab then select the checkbox titled "Load settings from a custom folder or URL and choose the directory located at User/[USER_HOME_DIRECTORY]/dotfiles/iterm2.
In the Profiles tab within the Colors section you can import a color preset of your choice, for example the Dracula theme for iTerm2.
Install the Mise development environment setup tool.
brew install mise- See the Mise docs for more info: https://mise.jdx.dev
Copy the mise config to the location in the home directory.
cp ~/dotfiles/mise/config.toml ~/.config/miseYou can backup the mise config file within the home ~/.config/mise directory to the ~/dotfiles/mise directory by using the following shell script:
~/dotfiles/mise/config_backup.shCopy the .gitconfig file from the git into the root of your home directory.
cp ~/dotfiles/git/.gitconfig ~/Add your name, email, and signing key to the user section of the gitconfig.
Open VS Code and import the settings, keybindings, and other files, such as code snippets from the vs-code folder.
The shell folder contains scripts to set up the terminal prompt and aliases to use:
- Homebrew package manager for MacOS
- Git
- Ruby
- VS Code editor
- Other dev tools including the Mise package manager
Amend your ~/.zshrc to source the one in the dotfiles folder.
source ~/dotfiles/zshrc.shCreate directories for Vim autoload and Vim Plugins for the Dracula color theme.
mkdir ~/.vim/autoload
mkdir ~/.vim/pluggedSee the Vim Plug GitHub repo for more info: https://github.com/junegunn/vim-plug Dracula Theme for Vim: https://draculatheme.com/vim
Source the vim config in your ~/.vimrc
source ~/dotfiles/vimrc.vim