mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 00:40:07 +00:00
Only setopt correct
, not "correct_all".
Using the correct_all option is too distracting, and needs a lot of `nocorrect` aliases to work around this. Using only "correct" to correct the command itself is more friendly.
This commit is contained in:
parent
c133f41833
commit
70e51186ec
1 changed files with 2 additions and 10 deletions
|
@ -1,10 +1,2 @@
|
|||
setopt correct_all
|
||||
|
||||
alias man='nocorrect man'
|
||||
alias mv='nocorrect mv'
|
||||
alias mysql='nocorrect mysql'
|
||||
alias mkdir='nocorrect mkdir'
|
||||
alias gist='nocorrect gist'
|
||||
alias heroku='nocorrect heroku'
|
||||
alias ebuild='nocorrect ebuild'
|
||||
alias hpodder='nocorrect hpodder'
|
||||
# correct commands, but not any arguments (correct_all would do that)
|
||||
setopt correct
|
||||
|
|
Loading…
Reference in a new issue