From 5a2275a19faab3db75ec3b66717df97878de5421 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 10 Mar 2009 18:13:04 +0100 Subject: [PATCH 1/1] zsh: Try to fix mistakes when completing. --- zsh/rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/rc b/zsh/rc index 858f5fc..c9f516a 100644 --- a/zsh/rc +++ b/zsh/rc @@ -227,6 +227,9 @@ autoload -U compinit && compinit -d ~/.zsh/cache/zcompdump zstyle ':completion:*' use-cache on zstyle ':completion:*' cache-path ~/.zsh/cache +# Complete arguments and fix spelling mistakes when possible. +zstyle ':completion:*' completer _complete _match _correct _approximate + # Make sure the list of possible completions is displayed after pressing # the first time. setopt nolistambiguous -- 2.44.2