Skip to content

errmayank/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

My configuration files

Prerequisites

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Ghostty

brew install --cask ghostty

GNU Stow

brew install stow

Oh My Zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Zsh Syntax Highlighting

brew install zsh-syntax-highlighting

Starship

brew install starship

Setup

  1. Clone this repository:

    git clone https://github.com/errmayank/dotfiles.git ~/dotfiles && cd ~/dotfiles
  2. Create symlinks using Stow:

    stow .
  3. Reload the shell:

    source ~/.zshrc

Basic Commands

# Create symlinks (from ~/dotfiles directory)
stow .

# Remove symlinks
stow -D .

# Restow (useful after adding new files)
stow -R .

# Preview what would be linked (dry run)
stow -n .

Adding Dotfiles

  1. Move the existing config file to this repository:

    mv ~/.newconfig ~/dotfiles/.newconfig
  2. Create the symlink:

    stow .

Removing Dotfiles

  1. Remove the symlink:

    stow -D .
  2. Delete the file:

    rm <FILE_NAME>
  3. Re-stow remaining files:

    stow .

About

My configuration files

Resources

License

Stars

Watchers

Forks

Languages