Troubleshooting

Common issues and solutions.

Command Not Found

Symptom

Tool installed but command not found

Check PATH

echo $PATH | tr ':' '\n'

Should include:

  • ~/.local/bin
  • ~/.local/share/nvm/versions/node/<version>/bin (if using nvm)
  • /usr/local/bin or /opt/homebrew/bin (macOS)

Fix: Reload shell

source ~/.config/zsh/.zshrc
# or
exec zsh

Neovim Issues

Plugins won't load

nvim -c "Lazy sync" -c "qa"    # Force sync
rm -rf ~/.local/share/nvim/lazy/  # Clear cache

LSP not working

:LspInfo                # Check attached servers
:checkhealth vim.lsp    # Run diagnostics

Version too old

nvim --version          # Should be 0.11+
brew upgrade neovim     # macOS

Config file not updating

ls -la ~/.config/zsh/.zshrc  # Check symlink
symlinks relink macos        # Recreate symlinks

Theme Issues

Theme not applying

theme current           # Check current theme
theme verify            # Check theme system
theme apply <name>      # Apply theme directly

Tmux colors wrong

# In tmux
Ctrl+Space r            # Reload tmux config

Git Issues

Git identity not set

git config --global user.name "Your Name"
git config --global user.email "your@email.com"

Credential helper not working (macOS)

git config --global credential.helper osxkeychain

Package Manager Issues

Homebrew slow/hanging (macOS)

brew update             # Update package lists
brew doctor             # Check for issues
brew cleanup            # Clean old versions

apt package not found (Ubuntu)

sudo apt update         # Update package lists

Some tools need cargo install or manual installation on Ubuntu. See Platform Differences.

WSL-Specific

ZSHDOTDIR not working

Check /etc/zsh/zshenv:

cat /etc/zsh/zshenv

Should contain:

export ZSHDOTDIR="$HOME/.config/zsh"

Binary symlinks missing (bat, fd)

ln -sf /usr/bin/batcat ~/.local/bin/bat
ln -sf /usr/bin/fdfind ~/.local/bin/fd

Still Having Issues?

Check git history (git log --oneline) for recent changes that may have introduced issues.