1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # correction.zshrc: Setup correction
4 # Always-available commands, for example shell bultin. No need to check for
5 # existence, always define "nocorrect alias".
15 alias $cmd="nocorrect $cmd"
18 # Optional commands, check for existence first before creating the alias!
32 [[ -n $commands[$cmd] ]] \
33 && alias $cmd="nocorrect $cmd"
38 SPROMPT="$ZSH_NAME: Correct \"$fg[yellow]%R$reset_color\" to \"$fg[green]%r$reset_color\" [$fg_bold[white]nyae$reset_color]? "