From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8279 invoked by alias); 14 Nov 2011 18:38:36 -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: 16580 Received: (qmail 11978 invoked from network); 14 Nov 2011 18:38:34 -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=-0.0 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at spf.mandic.com.br designates 200.225.81.143 as permitted sender) Message-ID: <4EC15E90.6020703@mandic.com.br> Date: Mon, 14 Nov 2011 16:31:44 -0200 From: "Daniel Serodio (lists)" User-Agent: Postbox 3.0.1 (Macintosh/20111102) MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Auto-correct and newly-added commands Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit When I add a command to a directory that's included in PATH, the first time I try to run this command, zsh tries to auto-correct it, to which I reply "n". It it possible to have zsh automatically run "rehash" after I reply no to an auto-correct prompt, so it "learns" this new command? Thanks in advance, Daniel Serodio