Add command correction
This commit is contained in:
parent
2f2b20235c
commit
0ec519730c
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
|||
|
||||
|
||||
stty stop undef # Disable ctrl-s to freeze terminal
|
||||
autoload -U colors && colors
|
||||
setopt correct
|
||||
export SPROMPT="Correct $fg[red]%R$reset_color to $fg[green]%r$reset_color? [Yes, No, Abort, Edit] "
|
||||
|
||||
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
|
|
Loading…
Add table
Reference in a new issue