-
Notifications
You must be signed in to change notification settings - Fork 0
Tips & Tricks
Sunil Murthy edited this page Apr 11, 2026
·
3 revisions
# Install specific groups
make shell editors tools
# Preview before installing
make plan
# Safe install with backup
make safe-install
# Adopt existing config files into stow
make adoptmake doctorChecks required tools (git, stow, bash), optional tools (emacs, fzf, bat, eza, fd, rg, tmux, etc.), XDG directories, broken symlinks, config validation, and GPG setup.
# Preview what would happen
make plan
# Adopt existing files then restow
make adopt
# Remove broken symlinks
make prune# Create a timestamped backup before making changes
make backup
# Restore from latest backup
make restore
# List all available backups
make list-backups
# Clean old backups (keeps last 5)
make prune-backupsCreate local override files that won't be tracked by git:
# For zsh
touch ~/.config/zsh/zshrc.local
# For bash
touch ~/.config/bash/bashrc.local
# For git
touch ~/.config/git/config.local- Gruvbox color theme applied automatically via
dir_colors - Smart tool detection: aliases adapt to installed tools (e.g., uses
ezaoverlsif available) - Cross-platform: macOS-specific config in
darwin, auto-detectsglsvs BSDls - Git branch display in prompt
- Enhanced history with timestamps
- Modular config:
aliases,colors,exports,history,prompt,shopt
When these tools are installed, bash aliases automatically prefer them:
-
bat over
cat- syntax highlighting -
eza over
ls- better file listing with git status -
fd over
find- simpler syntax -
ripgrep over
grep- faster recursive search -
fzf - fuzzy history search with
Ctrl+R -
zoxide - smarter
cdthat learns your habits
- Use
C-x C-fwith tab completion for fast file navigation -
M-x occurto search for patterns across the current buffer -
C-x r mto bookmark frequently accessed files -
M-x package-list-packagesto browse and install new packages
- Restart Emacs after major configuration changes
- Use
M-x eval-bufferto reload configuration files - Check
*Messages*buffer for startup errors
-
` c- Create new window -
` n- Next window -
` p- Previous window -
` r- Reload configuration -
Alt + 1-9- Quick window switching
# Create named session
tmux new-session -s work
# Attach to session
tmux attach -t work
# List sessions
tmux list-sessionsThe dotfiles use a consistent Gruvbox Dark Hard color scheme:
-
GNU coreutils (best) - Full gruvbox
dir_colorstheme viagls -
BSD ls (fallback) - Gruvbox-inspired
LSCOLORSon macOS - eza - Modern ls with built-in color support
# Install coreutils for best colors on macOS
brew install coreutils
# Test
gls -la --color=auto-
Create directory at the repo root:
mkdir -p mynewpackage/.config/mynewpackage
-
Add your config files following XDG structure.
-
Add it to
ALL_PKGSand the appropriate group variable in the Makefile. -
Install:
make mynewpackage
# Update dotfiles repository
git pull origin main
# Re-link all packages
make sync# Remove a specific package
make rm-tmux
make rm-bash# Full health check
make doctor
# List all available packages
make ls
# Check for broken symlinks
make prune/ Home / Packages / Installation / Copyright (c) 2017-2025 Sunil.