3 ms·
Or embrace it... I don't seem to mistype ls often enough to care, but my ~/.alias has a few things of this sort # some common typos alias grpe grep al
by femto113 4y ago
Or embrace it... I don't seem to mistype ls often enough to care, but my ~/.alias has a few things of this sort
# some common typos
alias grpe grep
alias gpre grep
alias mroe more
alias mreo more
alias rmeo more
- cpeterso 4y agoand: alias cd..="cd .." alias ..="cd .."
- skitter 4y agoFish and Zsh can automatically cd into a dir if you type a path in.
- jnsaff2 4y agothe times I've typed .. dicker or focker, ducker ... or the combination of the last two .. bleh
- lordgrenville 4y agozsh `setopt correct` is pretty helpful with these kinds of typos.
- dizhn 4y agoThis sounded interesting but too magicky to me and I did a google search. Most of the top results are about how to disable or limit it. :) I believe I experienced this kind of feature with fish and it was one of the reasons I didn't like it. (Most things cannot be user configured away in fish).
- lordgrenville 4y agoIt works fine for me. I do have `correct_all` unset, which makes it only apply to the command and not the arguments.
- dizhn 4y agoI will check it out. I am sure it can be configured to work reasonably on zsh.