Use at your own risk.
Dotfiles do not specify a desktop environment or window manager becuase none is compatible with all operating systems (Windows, Mac OS, Linux, BSD).
Dotfiles do not specify a terminal emulator.
dotfiles
alias is equivalent to git
except for working directory is set to $HOME
.
- Shell: zsh, bash
- Editor: vim
- Multiplexer: tmux
- System monitor: htop
- File manager: Midnight Commander
- Package manager: Homebrew (BSD not supported)
Check Git is set up on your machine before installation.
Run bootstrap first.
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
echo !! >> ~/.zshrc
# Init git repo.
mkdir ~/.dotfiles
dotfiles init
# Overwrite dotfiles.
dotfiles remote add origin https://github.com/syjung6967/dotfiles.git
dotfiles pull
dotfiles reset --hard origin/main
dotfiles checkout main
# Update submodules.
dotfiles submodule update --init
Install Homebrew and all packages from bundle file.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
brew analytics off
brew bundle --global
dotfiles add <new files>
dotfiles submodule add <repo> <path>
dotfiles rm <files or submodules>
dotfiles commit -a
dotfiles push origin main