My tool configurations for UNIX-like systems.
Note that the installing commands are based on Homebrew, as my main machine is a Mac.
-
Clone this repository into
~/.dots
, and then update the submodules.git clone https://github.com/doohochang/.dots.git ~/.dots cd ~/.dots git submodule update --init
-
Configure the tools you want.
brew tap homebrew/cask-fonts
brew install font-hack-nerd-font
brew install alacritty
ln -s ~/.dots/alacritty ~/.config/alacritty
brew install zsh
test -f ~/.zshrc || touch ~/.zshrc
printf "# Configuration from ~/.dots\nsource ~/.dots/zsh/config\n\n%s" "$(cat ~/.zshrc)" > ~/.zshrc
exec zsh
Note
The script above adds `source ~/.dots/zsh/config` at the beginning of `~/.zshrc`. If there are any settings that need to be done earlier than this, just add `source ~/.dots/zsh/config` into `~/.zshrc` manually.brew install tmux
ln -s ~/.dots/tmux/.tmux.conf ~/.tmux.conf
brew install nvim
ln -s ~/.dots/nvim ~/.config/nvim
git config --global core.editor nvim