From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28986 invoked by alias); 3 Mar 2014 15:00:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32457 Received: (qmail 26030 invoked from network); 3 Mar 2014 15:00:25 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=deg35o1KZatkYkxtHFOcWfRTeVrHgAlH6mrO12WnqnU=; b=OzCy6e9OIjDIFcqQvc7ch03eMpDQ7iFuOcK1ytSArgKvPHMMZGT+CgI0xh/OaVs5Py QYOba1ALGY/caadRqNC1Jix1KERnG/qT+5VcaDBNA59iPLBnuzmlYpCL2ebNzzdexbGl dz1r5sXtkZfZzYLQdCAiDBh/71wccqZko8MZnNVaSvXfji34FYwKg+YVVjLhUX1ulAm/ EGEVx4CDyuh/ZytSEB0Fqiwd8jwzUYo9+JyTI0eQxhn0yM1a4mHUG9myK2/I7XX4a2Sa tWlwGQXEqfwMpBqvtE5SMmd4QWpvOhoPn7oK9+qEg+NQ4O4+2P2e9CLOjFPxCp74kLUC TFog== X-Received: by 10.58.37.67 with SMTP id w3mr17533122vej.22.1393858823056; Mon, 03 Mar 2014 07:00:23 -0800 (PST) MIME-Version: 1.0 From: Francisco Borges Date: Mon, 3 Mar 2014 16:00:02 +0100 Message-ID: Subject: zstyle cd ignore-parents broken? (Zsh-5.0.5) To: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary=089e013a0d4203f34604f3b50c3d --089e013a0d4203f34604f3b50c3d Content-Type: text/plain; charset=UTF-8 Hi, I either found a minor bug or my capacity to screw my shell configuration was boosted. [...] I had this zstyle in place for years, today I noticed cd does not ignore the parent dir anymore. On Zsh-5.0.5, completing on "mv foo ../[TAB]" parent dir is ignored as expected. If I try "cd ../[TAB]" completion list includes the parent dir. On Zsh 4.3.17, it works as expected (i.e. parent dir is ignored by both mv and cd). zsh -f autoload -U compinit compinit zstyle ':completion:*:cd:*' ignore-parents parent pwd zstyle ':completion:*:mv:*' ignore-parents parent pwd mv foo ../[TAB] # works as expected on both 5.0.5 and 4.3.17 cd ../[TAB] # works as expected only on 4.3.17 Kind regards, (and thanks for Zsh!) -- Francisco --089e013a0d4203f34604f3b50c3d--