From 986e482c214b9b3e93f2d01b71ea0db0462d9611 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 9 Feb 2019 18:13:26 -0500 Subject: Add hup --- home/.local/bin/hup | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 home/.local/bin/hup (limited to 'home/.local') diff --git a/home/.local/bin/hup b/home/.local/bin/hup new file mode 100755 index 00000000..4fc5d7ae --- /dev/null +++ b/home/.local/bin/hup @@ -0,0 +1,7 @@ +#!/bin/sh +set -eu + +dir=$(mktemp -d) +hi -f html -o document,tab=4 "$@" > "$dir/hi.html" +up "$dir/hi.html" +rm -r "$dir" -- cgit 1.4.1