If you are building full-stack apps (like a Django backend mated to a React/Vite frontend), you know the struggle of the "Locked Terminal."

You run npm run dev or python manage.py runserver, and suddenly that terminal pane is completely hijacked. To run another command, you're forced to open a brand-new tab, split your screen, or context-switch out of your flow.

Worse yet, when you hit Ctrl+C to close those servers, they sometimes leave behind "zombie processes" that stubbornly hold onto your ports (8000 or 5173), forcing you to hunt down PIDs just to restart your environment.

On my Linux setup, I got tired of managing a million tabs. Here is how to run your servers cleanly in the background and terminate them instantly using a single custom Zsh function.

The Trick: The Power of the Ampersand (&)