./setup.sh
The folders in this folder are mapped directly into the $HOME
directory using the --no-folding
flag.
This structure within the .dotfiles repository:
~/.dotfiles/mirrors
├── .config
│ └── nix
│ └── nix.conf
└── .ssh
└── config
Will produce this mapping:
~
├── .config
│ ├── nix
│ │ └── nix.conf -> ../../.dotfiles/mirrors/.config/nix/nix.conf
└── .ssh
└── config -> ../.dotfiles/mirrors/.ssh/config
The folders within this directory are only used for logically grouping the configurations. The contents of each package is linked into the $HOME directory.
This structure within the .dotfiles repository:
~/.dotfiles/packages
├── editorconfig
│ └── .editorconfig
├── git
│ ├── .gitconfig
│ └── .gitignore_global
└── zsh
└── .zshrc
Will produce this mapping:
~
├── .editorconfig -> .dotfiles/packages/editorconfig/.editorconfig
├── .gitconfig -> .dotfiles/packages/git/.gitconfig
├── .gitignore_global -> .dotfiles/packages/git/.gitignore_global
└── .zshrc -> .dotfiles/packages/zsh/.zshrc