$ cat .bash_aliases
@hpincket It's a good solution, but my fingers prefer "clear;ls -al" to just "ls -al", and really tweaks a nerve when I get an error and then my ls output.
@mike I have several emacs abbrevs (automatic replacements) defined for exactly the same reason. My fingers are dumb sometimes.
@splatt9990 Yep, back in the old DOS days, I used to have one setup for "dri" because I typoed "dir" so many times my friends made fun of me for it.
`alias gp=git push`
`alias gpa=git pushall`
(with pushall defined in the git config to push to all connected remotes at once)
I really believe in the power of 2-letter abbreviations for the most used commands -
it saves a ton of typing headaches and wasted brain cycles over the long run,
@marty I tried to do that for a while, but muscle memory really messed me up. I almost always use a clear before an ls or ls -al, so I aliased the whole thing to just mls, and I still was always typing clear;ls -al every stinking time before I realized I could just type mls -al and get the exact same thing. There are so many better ways of doing it than the way I do it, but I just can't get any of them to stick in my workflow.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.