diff options
author | June McEnroe <june@causal.agency> | 2019-02-09 18:13:26 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-02-09 18:13:26 -0500 |
commit | 10a35049476c522ef455623099a1f5921dd4600b (patch) | |
tree | 958c18b66435c0aaa9495808f5beb12c7d678ff7 | |
parent | Add tab option to HTML output of hi (diff) | |
download | src-10a35049476c522ef455623099a1f5921dd4600b.tar.gz src-10a35049476c522ef455623099a1f5921dd4600b.zip |
Add hup
Diffstat (limited to '')
-rwxr-xr-x | home/.local/bin/hup | 7 |
1 files changed, 7 insertions, 0 deletions
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" |