Zsh / tmux / Neovim setup
This directory holds dotfiles and an installer that targets Debian/Ubuntu (APT + sudo).
Run the installer
From this repository, run the script from the zsh directory so the cp steps resolve init.lua, p10k.zsh, tmux.conf, and tmuxinator.yml:
cd zsh
bash install.sh
What install.sh does
-
System packages —
apt-get update/upgrade, then installs:zsh,tmux,wget,curl,git,vim,nmon,neofetch,nload,htop. -
Oh My Zsh — If
${ZSH:-~/.oh-my-zsh}is not already a directory, runs the official install script from ohmyzsh withCHSH=noandRUNZSH=no(non-interactive). Otherwise prints a skip message. Usesenv -u ZSHso a pre-exportedZSHdoes not confuse the installer. -
Zsh plugins — Clones zsh-autosuggestions and zsh-syntax-highlighting into
$ZSH_CUSTOM/plugins/, then edits~/.zshrcso theplugins=(...)line includeszsh-autosuggestionsandzsh-syntax-highlighting. -
Powerlevel10k — Clones powerlevel10k under
$ZSH_CUSTOM(seeinstall.shfor the exact path). -
Tmux Plugin Manager (TPM) — Clones tpm to
~/.tmux/plugins/tpm. -
Neovim — Downloads the latest Linux x86_64 AppImage from the Neovim releases, installs it as
/usr/local/bin/nvim. -
Tmuxinator — Installs the Zsh completion file to
/usr/local/share/zsh/site-functions/_tmuxinator, and appendsalias mux=tmuxinatorto~/.zshrcwhen that exact line is not already present. -
Local configs — Copies repo files into your home/config:
Source (this repo) Destination init.lua~/.config/nvim/init.luap10k.zsh~/.p10k.zshtmux.conf~/.tmux.conftmuxinator.yml~/.tmuxinator/project.yml -
Default shell — Runs
sudo chsh -s "$(command -v zsh)"for the invoking user (SUDO_USERwhen the script was started withsudo), so new login sessions use zsh without running interactivechsh.
After install
- New login shell: Log out and back in (or open a new SSH session) so the
chshchange applies. Until then you can runexec zshin the current terminal. - In tmux, install TPM plugins per your
tmux.conf(oftenprefix+Ionce TPM is loaded).
If sudo chsh failed (e.g. zsh not listed in /etc/shells), set the shell manually after fixing: chsh -s "$(command -v zsh)".
Further reading
- Tmux-oriented setup notes: Terminal setup with zsh, tmux, Dracula theme