dotfiles
Configuration for macOS and Ubuntu
Always review scripts before running them on your system. These installation scripts are open source and available for inspection on GitHub.
Quick Installation
macOS and Ubuntu
curl -fsSL dotfiles.klimenko.dk/install.sh | bash
The installer clones the repository to ~/Work/dotfiles. On a new Mac, install the tools afterwards with brew bundle --file ~/Work/dotfiles/Brewfile.
Security Note: Always review scripts before running them. View the source at github.com/romaklimenko/dotfiles.
What's Included
Zsh with oh-my-zsh
One shell setup for macOS and Ubuntu:
DEV_HOME(~/Work, one folder per workspace) andDOTFILES_HOMEinstead of overridingHOME- The standard oh-my-zsh aliases for git, ls and archives, plus Databricks shortcuts
- Homebrew, cargo and
~/.local/binfirst onPATH, in login shells too - The
tailscalecommand from the Tailscale Mac app, when the app is installed - Tokens kept in the macOS Keychain and exported at shell start, never written to a file
tmux Configuration
Made for running several coding agents side by side:
- Ctrl+Space prefix, one session per workspace opened with
ws, one window per agent - tmux windows and panes named after the agent's session, or after the folder at a shell prompt
- Ctrl+Space,
wlists every workspace and agent, so you can switch between them - Copied text goes to the system clipboard
Neovim Configuration
VS Code-style editing shortcuts, multicursors, Telescope file tabs, and Git previews with Danish-keyboard alternatives (from romaklimenko/nvim)
- Integrated as git submodule
- Shared across macOS 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
Automated Installation
One-line setup for new machines via dotfiles.klimenko.dk
- A Brewfile with the command-line tools for the Mac
- Landing page with light and dark themes, matching the design of klimenko.dk
Shell Reference
Personal roots
DEV_HOMEis~/WorkandDOTFILES_HOMEis~/Work/dotfiles.HOMEis left alone, because git, ssh and most other tools read it
Editor
EDITORandVISUALarenvim.vimandviopen Neovim
oh-my-zsh
- robbyrussell theme with the
git,common-aliases,extract,gh,uv,rust,npm,pythonandcodexplugins, plusmacosandbrewon macOS orubuntuon Ubuntu. bash gets the same alias names fromshell/.bash_aliases.rm,cpandmvdon't ask before they act, because coding agents run commands with these aliases and can't answer
Git Shortcuts (oh-my-zsh)
gst- git statusga,gaa- git add, git add --allgc- git commit --verbose.gcmsg "message"commits with a messagegp- git pushgl- git pullgf- git fetchgd,gds- git diff, git diff --stagedgco,gsw,gb,gba,gm- git checkout, switch, branch, branch --all, mergegrv- git remote --verboseglog- git log as a graph, one line per commit.gloladds dates and authors
Navigation Shortcuts
cdh,hh- Go to$DEV_HOMEdots- Go to$DOTFILES_HOME..,...,....- Go up 1, 2, or 3 directoriesmkcd,take- Create a directory and go into itll,la,lt- List files: long, with hidden files, newest first
Databricks Shortcuts
dbcfg- Open~/.databrickscfgin the editord- databricks. It replaces oh-my-zsh'sd, which lists the directory stackdb- databricks bundledbd- databricks bundle deploydbv- databricks bundle validatedbr- databricks bundle rundbs- databricks bundle syncdw- databricks workspacedj- databricks jobsdc- databricks clustersdfs- databricks fs
tmux
ws- Open a workspace as a tmux session.ws backstageopens~/Work/backstage, and Tab completes workspace names
Dotfiles Management
dotsync- Apply dotfiles from local repo to system (for testing without committing)dotpull- Pull latest from remote repo and apply
Secrets (macOS)
keychain-set NAME- Store one line from stdin in the login Keychainkeychain-env NAME...- Export stored values as environment variables, from~/.zshrc.local
Utility Functions
extract,x- Unpack an archive of any common typemyip,myip6- Show external IPv4 or IPv6 addressofd- Open the current folder in Finder (macOS)omz reload- Reload zsh after a configuration change
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, run dotpull in a shell. It pulls the repository and applies it. dotsync applies local changes without pulling.
dotpull
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.