commit 36e31bdbc488d6acc590d582687ebccb4de85157 parent f9bb9a1b62ef94a88e23de5e296fe8f5cdb833bd Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 7 Jan 2020 19:59:28 +0100 Stop text script if dmenu returns failure Diffstat:
M | .local/bin/text.sh | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.local/bin/text.sh b/.local/bin/text.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e to="$(find "$HOME/.password-store/Telephone" -type f | \ sed 's/.*\///;s/\.gpg$//' | \ dmenu -i -p "to:")"