From: Simon Ruderich Date: Tue, 10 Mar 2009 17:13:04 +0000 (+0100) Subject: zsh: Try to fix mistakes when completing. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=5a2275a19faab3db75ec3b66717df97878de5421;p=config%2Fdotfiles.git zsh: Try to fix mistakes when completing. --- 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