Why I use this repository
I want to manage my dotfiles in a single repository.
I want to install my dotfiles with a single command.
I want to install my dotfiles without git command.
I want to update and sync my dotfiles with a single command.
This repository is a collection of my dotfiles.
This repository provides a script to install or backup my dotfiles.
.config/nvim : manual symlink
~/.zshrc : see just zsh
~/.Brewfile : see just brew
Please run just command to see how to use this repository.
sh -c " $( curl -fsSL https://raw.githubusercontent.com/sota0121/dotfiles/main/install.sh) "
Brew install and Sync .Brewfile
# custom brew install
bi $formula
# custom brew cask install
bci $cask
Git Push your latest dotfiles
cd $DOTFILES_DIR
git add .
git commit -m " update dotfiles"
git push origin main
Install brew pkgs with latest .Brewfile
cd $DOTFILES_DIR
brew bundle install --file .Brewfile
Clone this repository to $HOME/dotfiles.
If the directory already exists, install.sh will exit.
Install bi and bci commands to $HOME/.zshrc as alias.
If the alias already exists, install.sh will exit.
Brew bundle install using $HOME/dotfiles/.Brewfile.
Reload $HOME/.zshrc to apply the alias.