$ git clone --recursive https://git.sr.ht/~mjorgensen/dotfiles ~/.dotfiles $ ~/.dotfiles/scripts/install.sh
The shell script will ask what to do if the destination file already exists. You can either overwrite it, skip it, or back it up. You'd also have the option to overwrite all, skip all, or back all up.
The dotfiles will be symlinks, e.g.
~/zsh/zshrc.symlink will be
~/.zshrc. In short, the script looks for any file or
directory endling in
.symlink, and creates a link in
We can also track XDG config files. You'll be asked if you want to link
them. Similarly to
.symlink, any file or directory ending in
.xdgconfig will have a link created in
Custom functions are found in
organizational purposes, autocompletion setups are kept in
Add a new plugin:
# E.g.: git submodule add https://github.com/ohmyzsh/ohmyzsh.git oh-my-zsh git submodule init
contrib directory contains additional configuration files that are