Clone the repo and its submodules, then install links.
git clone https://github.com/tobyvin/dotfiles.git ~/dotfiles && ~/dotfiles/install
The install will override the following configs by default:
- ~/.zshrc
- ~/.p10k.zsh
- ~/.gitconfig
- ~/.ssh/config
- ~/.gnupg/gpg.conf
To disable overwriting existing configs, set defaults.link.force
in install.conf.yaml to false
:
# file: install.conf.yaml
- defaults:
link:
create: true
relink: true
force: false <--
- zshrc - Zsh profile (sources profile.sh & zsh/*)
- starship.toml - starship cross-shell theme config
- shell/ - Posix compliant cross-shell configs
- aliases.sh - Alias definitions shared between shells
- gpg.sh - Sets up the GPG agent bridges between wsl and windows
- profile.sh - Exports and Path additions shared between shells
- wsl.sh - WSL2 specific config (sources gpg.sh)
- zsh/ - Zsh configs
- aliases.zsh - Alias definitions (sources aliases.sh)
- antigen.zsh - Loads Antigen plugins and theme
- keybindings.zsh - Keybindings and related functions
- prompt.zsh - Prompt configuration and prompt theme settings
- setopt.zsh - Zsh configuration settings
- wsl.zsh - WSL2 specific config (sources wsl.sh)
- gitconfig - Git configuration
- ssh/ - SSH related files
- config - SSH configuration
- wsl2-ssh-pageant - connects SSH/GPG sockets between WSL2 and Windows
- gnupg/ - GnuPG (GPG) related files
- gpg.conf - GPG configuration
- gpg-agent.conf - GPG-Agent configuration
- scdaemon.conf - GPG smartcard daemon configuration
-
Dotbot - A tool that bootstraps your dotfiles ⚡️