The repo contains most of my linux config files and is intended to be installed with GNU stow.
Clone this repo with
git clone --recursive https://github.com/matsixfive/.dotfiles.git
Make sure a submodules are cloned if --recursive
was not used by running
git submodule update --init --recursive
Install stow. e.g. on arch:
sudo pacman -S stow
This repo must be a direct chuild of the home directory e.g. ~/.dotfiles
.
To install the dotfiles, enter the repo root (~/.dotfiles
) and run:
stow .
It is important to run this in the root of the repo and not in a subdirectory.
This will create soft links for all files in the ~/.dotfiles
directory to the parent ~
folowing the same structure:
~
├─ .config -> ...
│ ├ tmux -> ...
│ └ nvim -> ...
├─ .zshrc -> ...
└─ .dotfiles
├─ .config
│ ├ tmux
│ └ nvim
└─ .zshrc
.config/nvim
is a git submodule because I also use it on windows. The repo can be found here.