Here's a breakdown of my .zshrc file, explaining each alias, export, and function to help you understand how I’ve customized my terminal workflow.
Aliases
Aliases simplify repetitive commands, saving time and effort. Here are the ones I’ve configured:
1. YOLO Git Commit
git add .).main branch.2. TypeScript YOLO Commit
npx tsc).yolo alias.3. Edit .zshrc
.zshrc file in the editor.cursor (replace with your preferred editor if necessary).4. Reload .zshrc
.zshrc file, applying any changes.5. Kill Process on Port 3000
lsof -t -i :3000).kill -9).6. Download YouTube Videos
Exports
Exports modify the environment variables for enhanced functionality.
1. Prevent Homebrew Cleanup
2. Adjust PATH
/opt/homebrew/bin to the front of the PATH.Functions
Functions are more flexible than aliases and allow more complex behavior.
1. Find an Alias
fzf (fuzzy finder).2. Restart Docker Containers
docker compose down).docker compose up -d).These customizations make my workflow smoother, enabling quick actions and saving me from repetitive typing. Feel free to adapt these commands to your own .zshrc and optimize your terminal experience!
Products I've built
Small, focused apps for developers, creators, and anyone trying to stay focused.
Tubely📺
A native Mac app for YouTube — switch channels with Cmd+1-9.
Open TubelySizzy🟣
One window that shows your site on every device at once.
Open SizzyZero To Shipped🚢
SaaS boilerplate with auth, billing, and teams already wired.
Open Zero To ShippedTinkerers Club🛠️
A community of builders shipping side projects in public.
Open Tinkerers Club