serhii.net

In the middle of the desert you can say anything you want

UNLISTED

30 Oct 2025

Fish loop to warn you when command stops or starts failing

Just came up with this:

while test not (git push); echo done; sleep 1; end; zenity --info works
  • test reacts when command returns a non-zero exit value

  • you can remove not

  • the above shows a popup when it’s over

  • EDIT: failed, when git push stopped returning 128, the loop continued :)

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus