Personal development environment configuration and bootstrap scripts. Run a single command on any new host to clone the repo, install tools, and symlink configs into place.
curl -fsSL https://raw.githubusercontent.com/brpvieira/dotfiles/master/setup/install.sh | bash- Clones the repo into
~/dotfiles(falls back to zip download if git is unavailable) - Sets up XDG base directories (
~/.config,~/.local/share,~/.local/bin, etc.) and writes~/.config/xdg-varsfor shell sourcing - Patches the shell rc — appends a source line for
xdg-varsto~/.zshrcor~/.bashrc, detected from the user's login shell (not$SHELL) - Installs tools — skips anything already present, supports Homebrew (macOS) and apt/apt-get (Debian/Ubuntu)
- Installs terminfo — compiles a patched
xterm-256colorentry viatic, backing up any existing user entry first - Stows configs — symlinks each package into
$HOMEvia xstow, backing up conflicting files to~/.dotfiles-backup/
| Tool | Purpose |
|---|---|
jq |
JSON processor |
ripgrep |
Fast grep replacement |
xmllint |
XML linting (via libxml2) |
tmux |
Terminal multiplexer |
vim / nvim |
Editor (prefers nvim if neither is present) |
eslint |
JS/TS linter (requires Node.js) |
xstow |
GNU stow-compatible symlink manager |
| Package | Symlinks to |
|---|---|
nvim/ |
~/.config/nvim/ — Neovim config (lazy.nvim, LSP, Telescope, Treesitter) |
vim/ |
~/.vim/, ~/.vimrc — Vim config with custom colorscheme |
tmux/ |
~/.tmux.conf |
scripts/ |
~/.local/ — Utility scripts |
terminfo/alacritty.terminfo and terminfo/xterm-256color.terminfo are reference copies of the xterm-256color terminfo entry. The bootstrap compiles alacritty.terminfo into ~/.terminfo/x/xterm-256color. To install manually:
tic -x terminfo/alacritty.terminfoAll setup steps are idempotent — tools already installed are skipped, and stow removes existing dotfile symlinks before recreating them.