Customizing Yo’ Shit (For Development) Part 2: Functions

Quick post tonight to convey the awesomeness of bash functions. Once again, this isn’t a tutorial, more of a reminder.

Functions, much like aliases, can serve to save you time by allowing you to shortcut complex commands into a few key strokes. Or if you are like me, make it so you don’t have to look up the same command over, and over. Obviously since bash functions just run bash commands, they are far more powerful than just shortcuts, but that is how I most often use them.

It boils down to this: if I just need to run a command I make an alias; if that command needs an argument or many, I make a function. That simple. I have also included a couple basic functions that I seem to use often enough:

%d bloggers like this: