commit 17e59be53cf9b20148d7e6e0ac6c97d1d0d3dfc6
parent d3c1dc3c47703cca0bdabe98b54180d196788b2b
Author: vin <git@vineetk.net>
Date: Sat, 10 Aug 2024 18:00:01 -0400
add zsh autocorrect and ksh/bash-style meta-backspace
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/home.nix b/home.nix
@@ -212,6 +212,14 @@
ignoreDups = true;
ignoreSpace = true;
};
+ initExtra = ''
+ # auto-correct commands
+ setopt correctall
+
+ # fix meta/ctrl-backspace
+ autoload -Uz select-word-style
+ select-word-style bash
+ '';
syntaxHighlighting = {
enable = true;
highlighters = [