DEV Community

Discussion on: 4 Simple Steps For Custom Bash Commands

Collapse
 
audioboxer217 profile image
Scott Eppler

I have my aliases in one dotfile, functions in another, then I source both in my .bashrc

I like keeping them separate for cleanliness and testing while also having them sourced in every session automatically.

Collapse
 
mollynem profile image
Molly Nemerever

That's awesome organization! I think as I gain experience and discover which functions I'll want as shortcuts I'll restructure how I've saved these functions.