Skip to content

Dotfiles configuration files for iTerm2, Homebrew, Mise, Z Shell, Vim, Git, Ruby and other dev tools

License

Notifications You must be signed in to change notification settings

rdsngit/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Configuration for iTerm2, Mise, Z Shell, Vim, Ruby, Git and other software development tools.

Setup

Clone the dotfiles repo into your home folder so it is located at ~/dotfiles.

Homebrew for MacOS

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 bundle

For more information about using Brewfiles see the following homebrew documentation page:

iTerm2

Install using homebrew.

brew install mise

Open 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.

Mise

Install the Mise development environment setup tool.

brew install mise

Copy the mise config to the location in the home directory.

cp ~/dotfiles/mise/config.toml ~/.config/mise

You 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.sh

Git

Copy 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.

VS Code

Open VS Code and import the settings, keybindings, and other files, such as code snippets from the vs-code folder.

Zsh

The shell folder contains scripts to set up the terminal prompt and aliases to use:

Amend your ~/.zshrc to source the one in the dotfiles folder.

source ~/dotfiles/zshrc.sh

Vim

Create directories for Vim autoload and Vim Plugins for the Dracula color theme.

mkdir ~/.vim/autoload
mkdir ~/.vim/plugged

See 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

About

Dotfiles configuration files for iTerm2, Homebrew, Mise, Z Shell, Vim, Git, Ruby and other dev tools

Topics

Resources

License

Stars

Watchers

Forks