Welcome to my personal config. If you know me personally, you know that I absolutely refuse to leave my terminal for anything other than a web browser and a few electron apps. Terminals have been the fastest input/output interface to deal with computers through the last few decades and a few generations of evolving technology.
This is the way.
This setup is custom tailored for me. Just like you wouldn't use anyone else's suit, this is not meant for you to clone, set and forget but rather: I'm sharing what I do on a day to day basis and hopefully we can learn from each other.
One run sets up a machine: apt repos and packages (Homebrew on macOS), snaps, Flathub apps, asdf with the
runtimes in tool-versions, global npm packages, cargo crates, fish completions, Nerd Fonts, config symlinks, tmux
plugins, the pinned nvim plugins, GNOME Shell extensions and a Tailscale login.
python3 installer.py # Tool status plus a dry run of every step
python3 installer.py --install # Do it (asks for sudo when something system-wide is missing)Every step skips whatever is already in place, so re-running is safe. Existing config files are backed up as
*.bak before being replaced with symlinks. Pick steps with --only / --skip, e.g.
python3 installer.py --install --only packages,links. Steps, in order:
repos, packages, snaps, flatpaks, asdf, npm, cargo, completions, fonts, links, tmux, nvim, gnome, tailscale.
What gets installed lives in the manifest at the top of installer.py.
Shared config is versioned; what differs per machine is either keyed by hostname in the repo or kept out of it.
- Ghostty:
ghostty/hosts/<hostname>is linked to~/.config/ghostty/local, which the shared config includes last, so a few overrides (e.g.font-size) win. - Starship:
starship/hosts/<hostname>.tomlis linked to~/.config/starship.toml. Starship has no includes, so each one is a whole prompt.starship/carabina.tomlis a custom prompt kept for reuse. - SSH:
ssh/configholds the tailnet boxes (by Tailscale IP, since Tailscale DNS is off for Twingate's sake) and agithub-workalias for a second GitHub account. The installer sets~/.sshto 700 and the config to 600. - Git: identity lives outside the repo in
~/.gitconfig.local, whichgit/gitconfigincludes:
[user]
email = you@example.com
signingkey = <GPG key id>
# Work repos: different ssh key (GitHub picks the account from the key) and identity
[includeIf "gitdir:~/dev/work/"]
path = ~/.gitconfig.work
[url "git@github-work:work-org/"]
insteadOf = git@github.com:work-org/With ~/.gitconfig.work setting core.sshCommand = ssh -i ~/.ssh/id_ed25519_work -o IdentitiesOnly=yes, plus the
work [user]. includeIf also applies while cloning into that folder.
Here's a brief breakdown of the tools that I use.
- neovim. A rewrite of Vim with Lua as a scripting language and a fast MessagePack API
- tmux. Terminal multiplexer. A server modeled, text-based session -> window -> pane viewport segregation
- ripgrep. Developer grep. The (currently) fastest clear text, regex based recursive search tool
- fzf.
- z.
- fish. An exotic shell, full color support and autocompletions with minimal config
- starship. Rust based, context sensible prompt
- delta. A Levenshtein-based diff tool with syntax highlight
- fdfind. Better
find, recursively search by filename - eza. Better
ls, full color support, sane defaults - batcat. Better
catwith syntax highlight - htop. Better
topwith color support and context tooling integrated - ctop. Container monitor for Docker
- procs. Better
ps, color support, smaller featureset - dust. Tree-like storage usage visualization
- duf. Better
df, list mounted storage devices - tokei. Lines of code counter, language sensitive
NOTE: Pending fzf, z, httpie, jq