Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zstyle cd ignore-parents broken? (Zsh-5.0.5)
- X-seq: zsh-workers 32457
- From: Francisco Borges <francisco.borges@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: zstyle cd ignore-parents broken? (Zsh-5.0.5)
- Date: Mon, 3 Mar 2014 16:00:02 +0100
- 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==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author