Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 927 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 927 Bytes

Dotfiles

git clone --recurse-submodules --shallow-submodules \
  https://github.com/dorukozerr/dotfiles.git ~/Repositories/gh/dotfiles
cd ~/Repositories/gh/dotfiles
mkdir -p ~/.config ~/.local/bin # so stow links into these instead of replacing them
stow */
need-more-customization.mp4

.stowrc sets --dotfiles --target=~. Stow aborts without touching anything if a file is already in the way, move it out and rerun.

Layout

Every top-level dir is a GNU Stow package that mirrors $HOME, with dot- standing in for a leading .:

zsh/dot-zshenv              -> ~/.zshenv
zsh/dot-config/zsh/.zshrc   -> ~/.config/zsh/.zshrc
stow -R zsh                             # relink a package
stow -D zsh                             # unlink it
git submodule update --remote --depth 1 # bump plugins