]> arthur.barton.de Git - ax-zsh.git/commitdiff
correction: Enhance correction prompt with colors
authorAlexander Barton <alex@barton.de>
Sat, 8 Jul 2017 22:16:53 +0000 (00:16 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 8 Jul 2017 22:16:53 +0000 (00:16 +0200)
default_plugins/correction/correction.zshrc

index b2412f64c2e88ecc85001db81ef93158f293a223..3f222499277a259783a3dbadd0fb04654b9d13dd 100644 (file)
@@ -19,3 +19,5 @@ for cmd (
 done
 
 setopt correct_all
 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]? "