My personal toolkit. Locally I use neovim for my editor, zsh for my shell with starship.rs for the prompt and tmux for window managment. For my terminal I am currently using ghostty but I keep configuration for wezterm, alacritty and kitty handy. bashrc, vimrc and gitconfig are standalone and can be copied to remote hosts.
The setup script will do most of the work but there are a few dependencies that need to be installed manually with the system package manager or built from source. cargo can be used for the rust dependencies:
zshtmux(3.9)neovim(0.13)bat/batcatrg/ripgrep- LSP servers
Fonts also need to be configured on the base host (the system that runs the terminal). I haven't automated this because terminal installation is also manual:
if [ uname = "Darwin" ]; then
FONT_DIR="$HOME/Library/Fonts"
else
FONT_DIR="$HOME/.local/share/fonts"
fi
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/Hack.zip
mkdir -p $FONT_DIR
unzip Hack.zip -d $FONT_DIRgit clone git@github.com:kevinhughes27/dotfiles.git ~/dotfiles
cd ~/dotfiles
./setup.shneovim will bootstrap itself on first open. run :healthcheck after it opens to check that everything is working
From a configured system ./setup.sh -r <remote> can be used to copy my standalone bashrc, vimrc and gitconfig to a remote host. fzf will also be copied.
tmux.conf sets default-terminal to tmux-256color, so that is the terminfo entry neovim reads inside tmux. Some systems (notably macOS) ship a terminfo database old enough that its tmux-256color entry lacks the extended smxx capability. neovim never synthesizes smxx, it only emits the strikethrough attribute (SGR 9) when terminfo advertises it, so the whole thing fails silently: colours and keys keep working and only strikethrough (markdown ~~text~~, checked checkboxes) disappears.
Run strikethrough_test to check each link in the chain. If smxx is missing, install a current entry into ~/.terminfo:
curl -fsSL https://invisible-island.net/datafiles/current/terminfo.src.gz | gunzip > /tmp/terminfo.src
tic -x -o ~/.terminfo -e tmux-256color /tmp/terminfo.src
tmux kill-serverThe outer terminal needs smxx too, otherwise tmux strips SGR 9 on the way out. Terminals that ship their own terminfo (ghostty, kitty, wezterm) have it, and tmux.conf advertises the strikethrough feature for everything else.
My zshrc will source a ~/.localrc file if it exists for any system or work specific settings. This lets me maintain one set of dotfiles while still having flexability. It is pretty common for programs to automatically add config to your dotfiles and when that happens I can see the changes in git and move them to localrc.