Rafian.com May 2026

brew install trash Now alias rm to trash in your shell config:

Install trash instead of using rm directly: rafian.com

April 14, 2026

Add this function to your ~/.zshrc or ~/.bashrc : brew install trash Now alias rm to trash

# Install ripgrep brew install ripgrep # or sudo apt install ripgrep rg "useEffect" -t js rafian.com

function killport() lsof -i tcp:$1 Now run: killport 3000 → It kills everything on port 3000 instantly. No more hunting for PIDs. grep is slow on large codebases. Use rg (ripgrep) instead. It respects .gitignore and is 10x faster.