From 0ec519730c3596263d8c6b7b90c81818c1251c6c Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Fri, 4 Sep 2020 18:07:10 +0200 Subject: [PATCH] Add command correction --- dotfiles/zsh/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/zsh/zshrc b/dotfiles/zsh/zshrc index 8d2ea43..853deee 100644 --- a/dotfiles/zsh/zshrc +++ b/dotfiles/zsh/zshrc @@ -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.