dotfiles

dotfiles

Cross-platform configuration for Windows and Ubuntu

Security notice

Always review scripts before running them on your system. These installation scripts are open source and available for inspection on GitHub.

Quick Installation

Windows (PowerShell)

irm dotfiles.klimenko.dk/install.ps1 | iex

Linux / WSL

curl -fsSL dotfiles.klimenko.dk/install.sh | bash

Security Note: Always review scripts before running them. View the source at github.com/romaklimenko/dotfiles.

What's Included

PowerShell Profile

Custom Windows PowerShell configuration with:

  • $env:DEV_HOME and $env:DOTFILES_HOME instead of overriding $env:HOME
  • Useful aliases and functions
  • Git shortcuts
  • WSL integration helpers

Bash/Zsh Configuration

Linux shell setup with:

  • Enhanced aliases
  • Improved history management
  • Git shortcuts
  • WSL detection and configuration

Neovim Configuration

Modern Neovim setup (from romaklimenko/nvim)

  • Integrated as git submodule
  • Shared across Windows and Linux

Claude Code and Codex Configuration

One maintained instruction source for both agents

  • Shared AGENTS.md, with a one-line Claude include
  • Settings sync preserves unrelated local settings, hooks and Codex notifications
  • Shared project, workspace and user lessons: Claude extracts them through hooks; Codex reads and records them through the portable lessons command
  • Custom Claude slash commands, including /lessons for locations and pipeline health

Automated Installation

One-line setup for new machines via dotfiles.klimenko.dk

  • Landing page with light and dark themes, matching the design of klimenko.dk

PowerShell Profile Reference

Personal roots

  • $env:DEV_HOME is C:\home and $env:DOTFILES_HOME is C:\home\dotfiles. $env:HOME is deliberately left alone, because setting it on Windows redirects git, ssh and gnupg away from the user profile

Aliases

  • ll, la - List files
  • vim, vi - Opens Neovim (if installed)

Navigation Shortcuts

  • cdh, hh - Go to $env:DEV_HOME
  • dots - Go to $env:DOTFILES_HOME
  • .., ..., .... - Go up 1, 2, or 3 directories

Git Shortcuts

  • gs - git status
  • ga - git add
  • gc - git commit
  • gpsh - git push
  • gl - git log (oneline, graph, decorate)
  • gd - git diff
  • gco - git checkout
  • gb - git branch
  • gpll - git pull

Databricks Shortcuts

  • dbcfg - Open .databrickscfg in editor
  • d - databricks
  • db - databricks bundle
  • dbd - databricks bundle deploy
  • dbv - databricks bundle validate
  • dbr - databricks bundle run
  • dbs - databricks bundle sync
  • dw - databricks workspace
  • dj - databricks jobs
  • dc - databricks clusters
  • dfs - databricks fs

WSL Integration

  • ubuntu - Launch WSL Ubuntu
  • wslh - Open WSL in home directory

Dotfiles Management

  • dotsync - Apply dotfiles from local repo to system (for testing without committing)
  • dotpull - Pull latest from remote repo and apply

Utility Functions

  • pp - Reload PowerShell profile
  • which - Find command location
  • touch - Create or update file timestamp
  • grep - Search text with patterns
  • lsa - List all files (including hidden)
  • du - Show directory size
  • mkcd - Create directory and cd into it
  • myip - Show external IPv4 address
  • myip6 - Show external IPv6 address
  • explore - Open directory in Windows Explorer

Manual Installation

If you prefer to install manually or want more control over the process, follow the detailed instructions in the README on GitHub.

Updating

To update your dotfiles to the latest version:

Windows

cd C:\home\dotfiles
git pull
git submodule update --remote

Linux / WSL

cd ~/dotfiles
git pull
git submodule update --remote

Support

For issues, questions, or contributions, please visit the GitHub repository.

Documentation

For detailed documentation, customization options, and troubleshooting tips, see the full README on GitHub.