zsh-workers
 help / color / mirror / code / Atom feed
* zstyle cd ignore-parents broken? (Zsh-5.0.5)
@ 2014-03-03 15:00 Francisco Borges
  2014-03-03 17:06 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Francisco Borges @ 2014-03-03 15:00 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-03 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-03 15:00 zstyle cd ignore-parents broken? (Zsh-5.0.5) Francisco Borges
2014-03-03 17:06 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).