We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7f677 commit 9128276Copy full SHA for 9128276
agkozak-zsh-prompt.plugin.zsh
@@ -618,7 +618,7 @@ _agkozak_async_init() {
618
_agkozak_usr1_async() {
619
emulate -L zsh
620
621
- if [[ "$(builtin which TRAPUSR1)" = "$AGKOZAK_TRAPUSR1_FUNCTION" ]]; then
+ if [[ "$(builtin which TRAPUSR1)" == "$AGKOZAK_TRAPUSR1_FUNCTION" ]]; then
622
# Kill running child process if necessary
623
if (( AGKOZAK_USR1_ASYNC_WORKER )); then
624
kill -s HUP "$AGKOZAK_USR1_ASYNC_WORKER" &> /dev/null || :
0 commit comments