Personal dotfiles managed with Dotbot for cross-platform configuration management.
-
Clone the repository:
git clone https://github.com/cdprice02/.dotfiles.git ~/.dotfiles cd ~/.dotfiles
-
Run the installation script:
./install.sh
The script will:
- Detect your operating system (Linux, macOS, or Windows)
- Initialize the Dotbot submodule
- Use the appropriate configuration file for your platform
- Create symlinks for all dotfiles and configurations
For manual installation:
git submodule update --init --recursive
# For Linux/macOS
./dotbot/bin/dotbot -d . -c install.conf.linux.yaml
# For Windows
./dotbot/bin/dotbot -d . -c install.conf.windows.yamlLinks these configs:
- Shell:
~/.bashrc,~/.zshrc - Nix:
~/.config/nix/ - Nushell:
~/.config/nushell/ - Starship:
~/.config/starship.toml
Links these configs
- Shell:
~/.bashrc - Nushell:
~/AppData/Roaming/nushell/ - Starship:
~/.config/starship.toml
To add new dotfiles:
- Add the file to the repo.
- Update the appropriate Dotbot YAML config (
install.conf.linux.yamlorinstall.conf.windows.yaml). - Re-run
./install.sh.
Platform-specific configs: Add files to the relevant config file and they will only be linked for the target platform.