[Bug 1183665] zsh command-not-found function does not probing /sbin
https://bugzilla.suse.com/show_bug.cgi?id=1183665 https://bugzilla.suse.com/show_bug.cgi?id=1183665#c2 Michal Vyskocil <michal.vyskocil@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(michal.vyskocil@g |needinfo?(paolo.perego@suse |mail.com) |.com) --- Comment #2 from Michal Vyskocil <michal.vyskocil@gmail.com> --- Hi, cnf-zsh installs /etc/zsh_command_not_found, which enables the handler. File itself is a copy&paste from older command-not-found-handler package, so there should be not a regression. zsh support is a part of an integration tests of cnf: https://github.com/openSUSE/cnf/blob/a4c7e609ebbe0f2f8e0dd8dc6aa57ac49f11e33... btw 90poe% rg 'zsh_com' /etc/bash.bashrc 374: if test -f /etc/zsh_command_not_found 375: then . /etc/zsh_command_not_found 376: elif test -f /usr/etc/zsh_command_not_found 377: then . /usr/etc/zsh_command_not_found Anyway once one calls source /etc/bash.bashrc or /etc/zsh_command_not_found, the command not found handler starts to work again. @Paolo: Is it possible that zsh no longer calls /etc/bash.bashrc when started? I can move the zsh configuration to any other place if needed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com