I started using Git extensively a couple of weeks ago, and I have found myself typing “ls -la” over and over and over during my day. So, I thought, “There’s got to be a better way!” Surely there is a way to create shortcuts in Terminal…
…Well, here it is:
- Open Terminal and type nano ~/.bash_profile
- After Nano opens, add the following to the .bash_profile document: alias la=’ls -la’
- Close Terminal. Then Reopen Terminal.
- Type la
Thanks to this guy for providing this solution.