Using an alias is something very common for everyone that works with the terminal.
Most people decide to create their alias names on the fly from intuition.
This creates aliases like gc
which is mapped to git commit
.
My brain does not work like this.
Now i have infinite possibilities to create aliases and no measure if there are useful.
This is why i created the rule, that useful shortcuts have only one letter.
Then you have a personalized map of 24 aliases for your absolut essentials.
My rule created a new problem.
What letters are actually taken and how are they mapped?
The snippet above solves that.
Because the idea is simple and you just need this alias to make it work.
You don't have to be extrem to get value here.
Even i do still alias stuff like sl
to ls
.
This is an simple idea with an simple solution.
Maybe you find it useful.