terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Fix the bug that zsh can't notify

Open gtoxlili opened this issue 3 years ago • 0 comments

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

gtoxlili avatar Jan 09 '22 19:01 gtoxlili