Skip to content

guptarohit/dotfiles

Repository files navigation

Rohit’s dotfiles

These configuration files aka dotfiles, and utilities are from my primary setup I use day-to-day, the core of which includes: macOS, iTerm2, and the zsh shell. Symlinks for dotfiles are managed with the Stow.

iTerm2 setup screenshot

Installation

To set up, assuming git is installed, run:

git clone https://github.com/guptarohit/dotfiles.git ~/.dotfiles
cd $HOME/.dotfiles
bash install.sh

install.sh is an idempotent script.

Note

Please backup configrations before running script.

Tmux plugins

To install plugins, including the Catppuccin theme, run the command prefix + I.

Usage

To create symlinks, use stow. The following command will create symlinks for gnupg configs.

stow gnupg

Please note, if files are already present in the directory we are trying to create a stow in, then use the --adopt flag. e.g.

stow gnupg --adopt

Local configs

zsh

System specific shell configurations can be added to ~/.zshrc.local. It will be sourced when the shell initializes.

Git

System specific git configurations like user's name, email, signing key, etc. can be added to ~/.gitconfig.local.

Acknowledgements

Inspired by various resources shared by the vibrant open-source community, including online resources and dotfiles repositories: