Skip to content

doohochang/.dots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.dots

My tool configurations for UNIX-like systems.

Note that the installing commands are based on Homebrew, as my main machine is a Mac.

Getting started

  1. 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
  2. Configure the tools you want.

Fonts

brew tap homebrew/cask-fonts
brew install font-hack-nerd-font

Alacritty

brew install alacritty
ln -s ~/.dots/alacritty ~/.config/alacritty

Zsh

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.

Tmux

brew install tmux
ln -s ~/.dots/tmux/.tmux.conf ~/.tmux.conf

Neovim

brew install nvim
ln -s ~/.dots/nvim ~/.config/nvim
git config --global core.editor nvim
Note The script above sets Neovim as a Git core editor, which is used for commit message editing, interactive rebasing, and more. If you do not want this, just skip `git config --global core.editor nvim`.

About

Configuration files for UNIX-like systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published