From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1655 invoked by alias); 9 Jan 2012 14:55:17 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16715 Received: (qmail 441 invoked from network); 9 Jan 2012 14:55:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <120109065457.ZM13381@torch.brasslantern.com> Date: Mon, 09 Jan 2012 06:54:57 -0800 In-reply-to: <4F0ACA9D.1060100@gmail.com> Comments: In reply to Volodya Khomchak "Annoying zsh completion" (Jan 9, 1:08pm) References: <4F0ACA9D.1060100@gmail.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: Annoying zsh completion MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Jan 9, 1:08pm, Volodya Khomchak wrote: } } Approximately month ego I started to see next annoying zsh completion } behavior. } } # vim /etc/rc.local } # zsh: correct 'vim' to '.vim' [nyae]? n What's the setting of your HASH_LIST_ALL option? Also, is .vim a file or a directory? I've forgotten the history of this, but if HASH_LIST_ALL is not set then spell checking won't preload the command hash table, so it will not find any command you haven't already executed. A side effect of this is that when AUTO_CD is set, then directories in $cdpath will be used for corrections, so a directory with a name similar to that of a command will be offered. My guess is that oh-my-zsh has adopted some of the suggestions from zsh-users over the past few months to delay command hashing in order to get faster shell startup, with the side effect that correction has begun misbehaving in some instances.