Sample Header Ad - 728x90

Make ZSH autocorrect `les` to `less` and not `ls`?

4 votes
1 answer
143 views
I'd like to change this behavior: ❯ les file.txt zsh: correct 'les' to 'ls' [nyae]? To this: ❯ les file.txt zsh: correct 'les' to 'less' [nyae]? What's the simplest way to do this? I'm looking to retain the autocorrection but revise it a bit, so alias les=less is not the kind of solution I seek.
Asked by Allen Luce (165 rep)
Dec 30, 2023, 01:50 AM
Last activity: Jan 6, 2024, 09:29 PM