Let's see... cat ~/.history | cut -d ';' -f2 | sort | uniq -c | sort -nr | head gives me my most used commands.
In there I have the classic alias for git status, git diff with colors, going back to the repo root.
But my favorites are those small hacks to type even less characters. I added one-letter aliases to some of the most used commands: l for ls, c for cat, v for vim, f for fd, g for rg, w for which, y for yarn, etc
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Let's see...
cat ~/.history | cut -d ';' -f2 | sort | uniq -c | sort -nr | head
gives me my most used commands.In there I have the classic alias for git status, git diff with colors, going back to the repo root.
But my favorites are those small hacks to type even less characters. I added one-letter aliases to some of the most used commands:
l
forls
,c
forcat
,v
forvim
,f
forfd
,g
forrg
,w
forwhich
,y
foryarn
, etc