summary refs log tree commit diff
path: root/bin/up.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-12 22:57:55 -0500
committerJune McEnroe <june@causal.agency>2021-01-12 22:57:55 -0500
commit7bc5cc46e62f5990d9e9258e030f8fbf4a41e2b9 (patch)
tree3b33268a41c3532223200f53b6d1c4f6f78c1c9d /bin/up.sh
parentUse hilex for bin HTML (diff)
downloadsrc-7bc5cc46e62f5990d9e9258e030f8fbf4a41e2b9.tar.gz
src-7bc5cc46e62f5990d9e9258e030f8fbf4a41e2b9.zip
Use hilex for up -h
Diffstat (limited to '')
-rw-r--r--bin/up.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/up.sh b/bin/up.sh
index e65d4522..562ab489 100644
--- a/bin/up.sh
+++ b/bin/up.sh
@@ -32,10 +32,10 @@ uploadCommand() {
 	upload "${temp}/exec.txt"
 }
 
-uploadHi() {
+uploadHilex() {
 	temp
-	hi -f html -o document,anchor,tab=4 "$@" > "${temp}/hi.html"
-	upload "${temp}/hi.html"
+	hilex -f html -o document,tab=4 "$@" > "${temp}/hilex.html"
+	upload "${temp}/hilex.html"
 }
 
 uploadScreen() {
@@ -61,7 +61,7 @@ uploadTerminal() {
 while getopts 'chst' opt; do
 	case "$opt" in
 		(c) fn=uploadCommand;;
-		(h) fn=uploadHi;;
+		(h) fn=uploadHilex;;
 		(s) fn=uploadScreen;;
 		(t) fn=uploadTerminal;;
 		(?) exit 1;;