Skip to content

RichardSlater/dotfiles

Repository files navigation

Dotfiles for Powershell on Windows (pwsh) and Zsh

Repository Index

This repository manages a full developer environment across Windows and Linux.

Ansible Roles (Linux/WSL)

Role Description Source
packages Common system utilities (jq, ripgrep, btop, etc.) scripts/ansible/playbook.yml
podman Rootless container engine (built from source) scripts/ansible/roles/podman/tasks/main.yml
neovim Modern editor built from source with C# support scripts/ansible/roles/neovim/tasks/main.yml
gh GitHub CLI (built from source) scripts/ansible/roles/gh/tasks/main.yml
uv Astral's fast Python package manager scripts/ansible/roles/uv/tasks/main.yml
cargo Rust toolchain & tools (e.g. tree-sitter) scripts/ansible/roles/cargo/tasks/main.yml
zsh Shell configuration with Oh-My-Zsh scripts/ansible/roles/zsh/tasks/main.yml
tmux Terminal multiplexer with custom config scripts/ansible/roles/tmux/tasks/main.yml
oh-my-posh Cross-shell prompt theme engine scripts/ansible/roles/oh-my-posh/tasks/main.yml
fzf Command-line fuzzy finder scripts/ansible/roles/fzf/tasks/main.yml

Key Features

Windows Install

winget install twpayne.chezmoi
chezmoi init --apply --verbose RichardSlater

Linux Install

sudo apt update && sudo apt install --yes curl git unzip
curl -s https://ohmyposh.dev/install.sh | bash -s
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply RichardSlater

Configure SSH Push/Pull URL

chezmoi cd
git remote set-url --no-push origin https://github.com/richardslater/dotfiles.git
git remote set-url --push origin git@github.com:RichardSlater/dotfiles.git

Transient Install

This is used only for transient environments like containers:

sh -c "$(curl -fsLS get.chezmoi.io)" -- init --one-shot RichardSlater

Neovim: C# (Roslyn)

This repo enables roslyn.nvim for C# buffers.

  • Install a Roslyn Language Server executable on your PATH (config prefers roslyn, but will also use Microsoft.CodeAnalysis.LanguageServer if found).
  • Ensure a recent .NET SDK is installed.

Verify prerequisites on Windows:

dotnet --info
Get-Command roslyn -ErrorAction SilentlyContinue
Get-Command Microsoft.CodeAnalysis.LanguageServer -ErrorAction SilentlyContinue

About

dotfiles for PowerShell and Zsh

Resources

License

Stars

Watchers

Forks