Follow

Not proud... 

$ cat .bash_aliases

alias clera="clear"

Not proud... 

@mike Ctrl + l (lowercase L) saved me from this fate

Not proud... 

@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.

Not proud... 

@mike I have several emacs abbrevs (automatic replacements) defined for exactly the same reason. My fingers are dumb sometimes.

Not proud... 

@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.

Not proud... 

@mike How about <Ctrl> + <L> :blobthinkingeyes:
Probably haven't typed "clear" in over a year...

Not proud... 

@mike this one is useful too lol

$ cat .bash_aliases

alias fucking="sudo"

Not proud... 

@mgiagante I like that. That's going in the file.

Not proud... 

@mike "netwrok" is my keyboard dyslexia top hit

Not proud... 

@mike ‘git psuh’ is my kryptonite. It makes sense to alias our most common misatkes

Not proud... 

@smt @mike There are three aliases I could never do without in my daily workflow:

`alias cl=clear`
`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,
honeslty. 😄

Not proud... 

@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.

@smt

Not proud... 

@mike for years I've had `alias c=clear` to avoid such problems 😅

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.