From: Samir Benmendil Date: Sun, 29 Oct 2023 16:51:20 +0000 (+0000) Subject: bin/maic: set pipefail to fail in case maim was cancelled X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/7253645bb15827a4e55ef005e87e6611850b3f17 bin/maic: set pipefail to fail in case maim was cancelled --- diff --git a/bin/maic b/bin/maic index bdbb82f..1385b54 100755 --- a/bin/maic +++ b/bin/maic @@ -1,3 +1,5 @@ #!/usr/bin/env bash +set -o pipefail + maim -q --select --hidecursor "$@" | xclip -selection clipboard -t image/png