First of all, excuse the gap in posting, but I got very ill a few weeks back and it took some time to get life lined out well enough for me to return to writing.
My use of aliases in a shell is often bordering on the path to full insanity, and is only outweighed by my love for embedded functions. One of the points that got me to thinking about adding a short post regarding saving keystrokes is this little trick that Pidsley had recommended in place of ‘autojump’…primarily due to the fact that it doesn’t require a large amount of Python 3 to work. This kind of thinking is in dire need in my opinion, as it does something that is regularly done by users of TUIs and it doesn’t require anything other than some creative use of already existing Unix tools. Beautiful!
This really only scratches the surface of what I might go so far as to refer to as an “addiction” to aliasing everything. In Debian, apt-get update? <alias upd=’apt-get update’>. “git commit -m”? <alias gcm=’git commit -m’>. The list goes on and on, and I’m not going to even pretend like I haven’t piped the ‘alias’ command through ‘less’ before, because it’s necessary to either do that or use a multiplexer with scroll back. While it may seem totally obvious, thousands and thousands of keystrokes can be saved throughout your career by simply thinking creatively about how you can use an alias.
So, I challenge anyone who reads this to find something that you type out on a regular basis, and alias it. Let your mind roam free.