From ca77a72103af0f7556372004b27b31c829fb2b2a Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Wed, 16 Sep 2020 17:02:40 +0200 Subject: [PATCH] Misc improvements. --- git/.config/git/config | 2 ++ zsh/.config/zsh/.zshrc | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/git/.config/git/config b/git/.config/git/config index e6ff1e2..cfe7910 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -38,3 +38,5 @@ [alias] cp = cherry-pick autosquash = rebase -i --autosquash +[rebase] + autosquash = true diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 2587851..bcdd864 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -211,6 +211,10 @@ function _pip_completion { compctl -K _pip_completion pip # pip zsh completion end +# Enable autocorrect, in case I still get it wrong +setopt correct +export SPROMPT="Correct $fg[red]%R$reset_color to $fg[green]%r$reset_color? [ynae] " + ########################## ## History configuration # ##########################