]> arthur.barton.de Git - ax-zsh.git/blobdiff - default_plugins/correction/correction.zshrc
Remove most "nocorrect" settings
[ax-zsh.git] / default_plugins / correction / correction.zshrc
index 5ee0cf0664f4aeadd9b917b4b72a54b27438ca06..96d4ccad6f5267b14c54f6b12f7cc1583824e468 100644 (file)
@@ -1,40 +1,6 @@
 # AX-ZSH: Alex' Modular ZSH Configuration
 # correction.zshrc: Setup correction
 
-# Always-available commands, for example shell bultin. No need to check for
-# existence, always define "nocorrect alias".
-for cmd (
-       alias
-       command
-       echo
-       print
-       printf
-       type
-       which
-); do
-       alias $cmd="nocorrect $cmd"
-done
-
-# Optional commands, check for existence first before creating the alias!
-for cmd (
-       apt
-       aptitude
-       brew
-       ebuild
-       gist
-       man
-       mkdir
-       mv
-       mysql
-       pgrep
-       pkg_add
-       pkill
-       sudo
-); do
-       [[ -n $commands[$cmd] ]] \
-               && alias $cmd="nocorrect $cmd"
-done
-
 setopt correct_all
 
 # Ignore dot files, don't offer them as a correction.