chiark / gitweb /
bin/wakey.zsh: Fix a stupid syntax error.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 21 Apr 2020 11:57:06 +0000 (12:57 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 21 Apr 2020 11:57:06 +0000 (12:57 +0100)
... which, for some reason, `zsh' accepted silently.

bin/wakey.zsh

index dd0432c7e2132a3eb6b27ff0817d46d35b7e41b6..b0d83744f2975dbd2fa7e3a54aceef7f39dc83d8 100644 (file)
@@ -44,7 +44,7 @@ __wakey_precmd () {
                                /^ *\(0x[0-9a-f]\+\) (.*$/s//\1/p
                              }')
              do
-               if (( i == WINDOWID )) then; suppress=t; break; fi
+               if (( i == WINDOWID )); then suppress=t; break; fi
              done
            fi
        esac