Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix spurious correction with sudo vim #970

Merged
merged 1 commit into from

4 participants

@ash211

user@host:~ $ sudo vim /etc/rc.conf
zsh: correct 'vim' to '.vim' [nyae]?

http://www.zsh.org/mla/users/2012/msg00028.html

@ash211 ash211 Fix spurious correction with sudo vim
user@host:~ $ sudo vim /etc/rc.conf
zsh: correct 'vim' to '.vim' [nyae]? 

http://www.zsh.org/mla/users/2012/msg00028.html
4e0b5be
@gionn

Patch works.

There is a reason why it is still unmerged?

@ash211
@inglor

I stubled upon the same issue. The patch doesn't work for me :(

@robbyrussell robbyrussell merged commit 4e0b5be into robbyrussell:master
@robbyrussell

Apologies for the latency.. have merged this for you!

@w31 w31 referenced this pull request from a commit in w31/oh-my-zsh
@robbyrussell Resolving conflict with merge of #970 1701173
@trynity trynity referenced this pull request from a commit in trynity/oh-my-zsh
@robbyrussell Resolving conflict with merge of #970 362fe3e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 24, 2012
  1. @ash211

    Fix spurious correction with sudo vim

    ash211 authored
    user@host:~ $ sudo vim /etc/rc.conf
    zsh: correct 'vim' to '.vim' [nyae]? 
    
    http://www.zsh.org/mla/users/2012/msg00028.html
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/correction.zsh
View
1  lib/correction.zsh
@@ -8,3 +8,4 @@ alias gist='nocorrect gist'
alias heroku='nocorrect heroku'
alias ebuild='nocorrect ebuild'
alias hpodder='nocorrect hpodder'
+alias sudo='nocorrect sudo'
Something went wrong with that request. Please try again.