# AX-ZSH: Alex' Modular ZSH Configuration # correction.zshrc: Setup correction for cmd ( alias apt aptitude brew command ebuild echo gist man mkdir mv mysql pkg_add print printf sudo type which ); do [[ -n $commands[$cmd] ]] \ && alias $cmd="nocorrect $cmd" done setopt correct_all SPROMPT="$ZSH_NAME: Correct \"$fg[yellow]%R$reset_color\" to \"$fg[green]%r$reset_color\" [$fg_bold[white]nyae$reset_color]? "