Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the bug that zsh can't notify #651

Open
gtoxlili opened this issue Jan 9, 2022 · 0 comments
Open

Fix the bug that zsh can't notify #651

gtoxlili opened this issue Jan 9, 2022 · 0 comments

Comments

@gtoxlili
Copy link

gtoxlili commented Jan 9, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant