Skip to content

yslib/dotfiles

Repository files navigation

My development environment configurations on Windows, Linux and macOS.

Linux / macOS

Prerequisites

  • git, curl, bash, unzip, tar, make
  • A C compiler (e.g., gcc, clang)

Usage

curl -fsSL https://raw.githubusercontent.com/yslib/dotfiles/master/bootstrap.sh | bash

Or clone manually:

git clone https://github.com/yslib/dotfiles.git && cd dotfiles && ./bootstrap.sh

Windows

Usage

No prerequisites needed. Run in PowerShell:

irm https://raw.githubusercontent.com/yslib/dotfiles/master/bootstrap.ps1 | iex

This single command will:

  1. Install Scoop (package manager)
  2. Install Git for Windows via Scoop (provides bash)
  3. Clone this repo to ./dotfiles (current directory)
  4. Hand off to bootstrap.sh running in Git Bash for package installation
  5. Create native NTFS symlinks for config files (PowerShell, with admin token)

Windows config path mapping

Config Linux/macOS Windows
nvim ~/.config/nvim %LOCALAPPDATA%\nvim
yazi ~/.config/yazi %APPDATA%\yazi\config
lazygit ~/.config/lazygit %LOCALAPPDATA%\lazygit
alacritty ~/.config/alacritty %APPDATA%\alacritty
gitconfig ~/.gitconfig %USERPROFILE%\.gitconfig
PowerShell profile <Documents>\PowerShell\profile.ps1
Windows Terminal Auto-detected (Stable/Preview/Canary, Store or Scoop)