Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/guptarohit/dotfiles

πŸ“~/. my dotfiles βš™οΈ for macOS, iterm2, git, vim, zsh, stow
https://github.com/guptarohit/dotfiles

config dotfiles git homebrew iterm2 lazygit macos oh-my-zsh raycast shell stow tmux zsh

Last synced: about 2 months ago
JSON representation

πŸ“~/. my dotfiles βš™οΈ for macOS, iterm2, git, vim, zsh, stow

Awesome Lists containing this project

README

        

# 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](https://iterm2.com/), and the zsh shell. Symlinks for dotfiles are managed with the [Stow](https://www.gnu.org/software/stow/).

![iTerm2 setup screenshot](./.github/images/setup_screenshot.png)

## Installation
To set up, assuming `git` is installed, run:

```bash
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](https://github.com/catppuccin/tmux) theme, run the command prefix + I.

## Usage
To create symlinks, use [stow](https://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html). The following command will create symlinks for gnupg configs.
```bash
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.
```bash
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:

- [GitHub ❀ ~/](http://dotfiles.github.io/)
- [Using stow for dotfiles (video)](https://www.youtube.com/watch?v=y6XCebnB9gs)
- [Mathias's dotfiles](https://github.com/mathiasbynens/dotfiles)
- [Artem's dotfiles](https://github.com/sapegin/dotfiles)
- [Nico's dotfiles](https://github.com/snics/dotfiles)
- [Jonas's dotfiles](https://github.com/JDevlieghere/dotfiles)
- [Alan's dotfiles](https://github.com/apinstein/dotfiles)