Rafian.com -

set completion-ignore-case on These five tricks take 30 minutes to set up but save me 2 hours every week. That is 100 hours per year .

/terminal-productivity-hacks

function killport() awk 'NR!=1 print $2' 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. rafian.com

# Install ripgrep brew install ripgrep # or sudo apt install ripgrep rg "useEffect" -t js set completion-ignore-case on These five tricks take 30

# On macOS brew install fzf sudo apt install fzf No more hunting for PIDs

alias rm='trash' Deleted files go to your system Trash. You can restore them. This has saved my career at least twice. Pressing the up arrow 20 times is for beginners. Instead, type a partial command and press Ctrl+R .