Dev environment config for Linux/X11. Zsh, tmux, vim, git.
make installCheck what's linked:
make statusRemove symlinks:
make uninstallln -sf ~/dotfiles/.zshrc ~/.zshrc
ln -sf ~/dotfiles/.tmux.conf ~/.tmux.conf
ln -sf ~/dotfiles/.vimrc ~/.vimrc
ln -sf ~/dotfiles/.gitconfig ~/.gitconfig
ln -sf ~/dotfiles/xprofile ~/.xprofile- Oh-My-Zsh:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" - zsh-syntax-highlighting:
git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting - zsh-autosuggestions:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions - TPM (tmux plugin manager):
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpmthenCtrl+b Ito install plugins - vim-plug:
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vimthen:PlugInstallin Vim - coc.nvim extensions:
:CocInstall coc-json coc-tsserver coc-html coc-cssin Vim - delta (git pager):
sudo apt install git-deltaorcargo install git-delta - xclip / wl-copy: clipboard support for tmux mouse selection
Commands in opencode/commands/ are symlinked to ~/.config/opencode/commands/ by make install.
- xprofile: hardwired for Lenovo laptop (eDP-1) + external monitor (DP-1). Adjust monitor names for your hardware.
- tmux auto-start: each terminal gets its own fresh tmux session. Auto-disabled in VS Code terminals and SSH sessions.
- nvm: lazy-loaded on first use of
node,npm,npx, ornvmfor fast shell startup.
Ctrl+b d— detach from session (session keeps running)tmux ls— list running sessionstmux attach -t N— re-attach to session number N