[new] | Rafian.com

Add this function to your ~/.zshrc or ~/.bashrc :

Rafian If you spend more than 10 minutes a day in a terminal, you are likely repeating yourself. You are typing the same long commands, waiting for the same slow processes, or clicking through five folders just to find one log file. 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. Add this function to your ~/