Skip to content

Fix the bug that zsh can't notify #651

@gtoxlili

Description

@gtoxlili

What Happened?

builtin . /usr/share/io.elementary.terminal/enable-zsh-completion-notifications || builtin true
The command does not work in .zshrc on my computer, but strangely enough it works on the zsh terminal.
After some research, I found out that it is because the statement buildin hash python 2> /dev/null is in sh . /xxx.sh or zsh . /xxx.sh returns an error, exactly because the command hash is only executed correctly in bash scripts, not in sh or zsh, maybe there is something wrong with my computer configuration? But if you have the same problem as me maybe you can choose to remove the relevant judgment statement from enable-zsh-completion-notifications

There is another problem root users can not be notified, this problem I have not found the reason for now?

Steps to Reproduce

Expected Behavior

1

OS Version

5.x (Hera)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions