DEV Community

Bret
Bret

Posted on

1 1

SHORTCUT FOR RUNNING COMMANDS: “python manage.py runserver” and “source ./venv/bin/activate”

What is a keyboard shortcut to enter in a line of code into terminal? Instead of typing out the commands to start my env and server?

Top comments (5)

 
yobretyo profile image
Bret

I didn’t have those folders before

 
yobretyo profile image
Bret

What makes it better than a alias?

Collapse
 
yobretyo profile image
Bret

I made “tasks” in VSCode, it works really well instead of 2 times a code, just 4 presses and it works

Collapse
 
yobretyo profile image
Bret

I made a bashrc and bash file, I entered commands, but it’s not working

Collapse
 
yobretyo profile image
Bret

Is that made in Animator on Mac?

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay