# AX-ZSH: Alex' Modular ZSH Configuration
# correction.zshrc: Setup correction
-for cmd (
- apt
- aptitude
- brew
- ebuild
- gist
- man
- mkdir
- mv
- mysql
- pkg_add
- sudo
-); do
- [[ -n $commands[$cmd] ]] \
- && alias $cmd="nocorrect $cmd"
-done
-
setopt correct_all
+
+# Ignore dot files, don't offer them as a correction.
+CORRECT_IGNORE_FILE='.*'
+
+SPROMPT="$ZSH_NAME: Correct \"$fg[yellow]%R$reset_color\" to \"$fg[green]%r$reset_color\" [$fg_bold[white]nyae$reset_color]? "
+
+unset cmd