From df5b8b987e8dd3e54df56d5e5569fabad5cb9eba Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 18 Aug 2018 16:15:56 -0400 Subject: Run {,s,t}up with /bin/sh --- home/.local/bin/sup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'home/.local/bin/sup') diff --git a/home/.local/bin/sup b/home/.local/bin/sup index 22f2b85e..33b268c8 100755 --- a/home/.local/bin/sup +++ b/home/.local/bin/sup @@ -1,8 +1,8 @@ -#!/usr/bin/env zsh -set -o errexit -o nounset -o pipefail +#!/bin/sh +set -e -u dir=$(mktemp -d) screencapture -i "$dir/capture.png" -pngo "$dir/capture.png" +type pngo > /dev/null && pngo "$dir/capture.png" up "$dir/capture.png" rm -r "$dir" -- cgit 1.4.1 it Advent of Code
summary refs log tree commit diff homepage
path: root/2017/src (unfollow)
Commit message (Collapse)Author
2017-12-02Day 2, part 2June McEnroe
2017-12-02Day 2June McEnroe
2017-12-01Day 1, part 2June McEnroe
2017-12-01Day 1June McEnroe
2017-11-27Move to 2016 directoryJune McEnroe