My personal dotfiles for Debian/Ubuntu-based systems: a .bashrc and a .tmux.conf, plus a script to install them.
.bashrc— shell config: history settings, prompt,ls/grepcolor aliases, auto-attaches tmux on login shell start, and loadsnvm/sdkmanif present..tmux.conf— tmux config: defaultC-bprefix (aC-aremap is included but commented out), vi-style copy mode with mouse-drag selection (highlight persists after release,ycopies to the system clipboard viaxclip), vim-style pane navigation/resizing, true-color support, and plugins managed via TPM (tmux-sensible,tmux-yank,tmux-resurrect,tmux-continuum).setup.sh— installs required packages (vim,tmux,xclip,git), backs up any existing dotfiles, copies these dotfiles into place, and installs TPM.
- A Debian/Ubuntu-based distro (uses
apt) sudoaccess- X11 with
xclipfor clipboard support (see note below if you're on Wayland or SSH)
git clone <this-repo-url>
cd linux-config
./setup.sh- Reload your shell:
source ~/.bashrc(or open a new terminal) - Reload tmux config:
tmux source ~/.tmux.conf(if tmux is already running) - Install tmux plugins: open tmux, press
prefix + I(capital i) to fetch them via TPM
Existing ~/.bashrc and ~/.tmux.conf are backed up to ~/.bashrc.old and ~/.tmux.conf.old before being replaced.
- Wayland users: swap
xclipforwl-copy/wl-clipboardin.tmux.conf's copy binds, or rely ontmux-yank(already included), which auto-detects the right clipboard tool. - SSH sessions:
xclip/wl-copyonly reach a clipboard on the machine tmux is running on. To copy from a remote tmux session back to your local machine, you'll need an OSC 52-based approach —tmux-yanksupports this automatically in most modern terminals.