Skip to content

Dotfiles

Shell, editor and terminal configs for Linux and macOS — one installer, same setup on a laptop, a VPS or a Docker container.
Terminal window
git clone https://github.com/aamnah/dotfiles && cd dotfiles && ./install.sh

bash and zsh, kept in sync

The same aliases and functions load in both shells. Use zsh on your laptop and bash on a server — nothing to relearn. Shell overview →

Linux and macOS

Commands that differ between GNU (Linux) and BSD (macOS) pick the right version automatically — same alias name, right command behind it.

Asks first, backs up always

The installer asks for your login shell and locale, shows a plan, and backs up every file it replaces. -y skips the questions. Install →

Works on minimal systems

Tested on Ubuntu, Debian, Fedora, Arch, openSUSE and Alpine. Missing tools and locales are installed; anything optional is skipped quietly.

These are one person’s settings, so the defaults are opinionated: they’re the choices the author likes, not neutral ones. Everything can be changed:

Default Change it with
zsh as login shell --shell=bash or --shell=keep — see Install
en_US.UTF-8 locale --locale=… — see Locale
Hasklug Nerd Font --font=… or --font=none — see kitty
Tabs for indenting, shown 4 wide (Vim, Neovim, nano) the indent settings on each editor page: Vim, Neovim, nano
Lasik colours (kitty, prompt, nano), Sublime Monokai in Vim the theme lines on kitty, Starship, Vim
Git: git pull rebases, new repos start on main settings you already have are kept — see Git
kitty split shortcuts replace some default Ctrl+Shift keys kitty
Aliases and functions override or remove them in ~/.aliases.local / ~/.functions.local — see Local files

Your own changes belong in the .local files, which the installer never touches. Every file it replaces is backed up first.

Something not working? See Troubleshooting and Known issues.