[Bug 1091589] New: zsh autocd masks PATH binaries
http://bugzilla.opensuse.org/show_bug.cgi?id=1091589 Bug ID: 1091589 Summary: zsh autocd masks PATH binaries Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: All OS: openSUSE 42.3 Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: nvbugs@hhecht.e4ward.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- With zsh-5.0.5-9.3.1, if autocd is set (which appears to be the default), then paths will mask binaries in the PATH with the same name. Example (with empty .zshrc): 1. mkdir mount 2. rehash # autocd will not pick up on this unless it's there when you start zsh 3. mount One might expect that the above would run "mount", but actually it cds to the mount directory. This behavior differs from zsh-5.0.5-8.21, vanilla 5.0.5, and 5.5.1. Further, it is contrary to the description of the option in the manual (see http://zsh.sourceforge.net/Doc/Release/Options.html#Changing-Directories). I.e., it seems to be an openSUSE bug, introduced with the last update. unsetopt autocd is a workaround. Curiously, if one unsets+sets autocd, the bug disappears until a rehash is triggered. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1091589 Andreas Stieger <astieger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |idonmez@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com