Skip to content

Commit 9128276

Browse files
committed
ZSH syntactical style
1 parent cd7f677 commit 9128276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agkozak-zsh-prompt.plugin.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ _agkozak_async_init() {
618618
_agkozak_usr1_async() {
619619
emulate -L zsh
620620

621-
if [[ "$(builtin which TRAPUSR1)" = "$AGKOZAK_TRAPUSR1_FUNCTION" ]]; then
621+
if [[ "$(builtin which TRAPUSR1)" == "$AGKOZAK_TRAPUSR1_FUNCTION" ]]; then
622622
# Kill running child process if necessary
623623
if (( AGKOZAK_USR1_ASYNC_WORKER )); then
624624
kill -s HUP "$AGKOZAK_USR1_ASYNC_WORKER" &> /dev/null || :

0 commit comments

Comments
 (0)