Skip to content

jonnydgreen/dotfiles

Repository files navigation

Dotfiles

Commitizen friendly GitHub license GitHub tag GitHub issues Maintenance PRs Welcome GitHub stars

Dotfile config that can be shared across devices

Table of Contents

  1. Contributing
  2. Installation

Installation

Clone this repo somewhere in your filesystem:

git clone https://github.com/projectjudge/dotfiles.git

To install a module, follow the instructions defined below. Note, some have dependencies so take care when installing.

Modules

  1. Git
  2. Zsh
  3. Prezto
  4. Brew
  5. Updating

Git

Setup git

Add the following to your .gitconfig file in your home directory:

[include]
  path = /path/to/dotfiles/repo/.gitconfig

Zsh

Setup zsh

Add the following to your .zshrc file in your home directory:

export DOTFILES_DIR=/path/to/dotfiles/repo
. $DOTFILES_DIR/.zshrc

Next, open a new terminal pane to source the new config

Prezto

Prezto prerequisites

  • zsh

Setup prezto

To load the zprezto config, make sure you set the following env variable in your main .zshrc in your home directory before any BEFORE any shared zsh/zprezto scripts are invoked:

export ZDOTDIR=$DOTFILES_DIR # Be sure to leave off the trailing slash

Next, open a new terminal pane to source the new config

Brew

Setup brew

Install brew as follows: https://brew.sh/

Then, in your home folder, create the following file called Brewfile:

instance_eval(File.read("/path/to/dotfiles/repo/Brewfile"))


# Other custom entries can go here

Then, install the brew packages:

IMPORTANT: this will remove any previously installed packages, so please ensure every package is covered by running brew bundle dump and editing ~/Brewfile as appropriate.

NOTE: this will prompt you for your sudo password

bbi # This will be available after opening a new terminal pane when configuring zsh

Updating

Updating prerequisites

  • zsh

To update existing configurations, run:

dotfiles-update

Font

Download the following font and install in "Font Book":

  1. Goto: https://www.nerdfonts.com/font-downloads
  2. Search for and download: "RobotoMono Nerd Font"

The make sure you have the following settings in ITerm:

font_settings

Packages

Ripdrag

Install as follows:

cargo install ripdrag

About

Useful dotfile config that can be shared across devices

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors