My configuration files
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew install --cask ghosttybrew install stowsh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"brew install zsh-syntax-highlightingbrew install starship-
Clone this repository:
git clone https://github.com/errmayank/dotfiles.git ~/dotfiles && cd ~/dotfiles
-
Create symlinks using Stow:
stow . -
Reload the shell:
source ~/.zshrc
# 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 .-
Move the existing config file to this repository:
mv ~/.newconfig ~/dotfiles/.newconfig
-
Create the symlink:
stow .
-
Remove the symlink:
stow -D . -
Delete the file:
rm <FILE_NAME>
-
Re-stow remaining files:
stow .