diff options
author | Klaus Alexander Seistrup | 2023-10-26 21:54:44 +0200 |
---|---|---|
committer | Klaus Alexander Seistrup | 2023-10-26 21:54:44 +0200 |
commit | 8f81cc00047e6c7998e2d27ec68d8beaa4d5015a (patch) | |
tree | f5a9abc2d62da9aea0571843387fbb4b3dbdaba1 /hx.sh | |
parent | edbe7eea406b503a2617eb1204e5a2249d29aade (diff) | |
download | aur-8f81cc00047e6c7998e2d27ec68d8beaa4d5015a.tar.gz |
Let's just use the simplest script possible
Diffstat (limited to 'hx.sh')
-rw-r--r-- | hx.sh | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -1,23 +1,11 @@ #!/bin/sh -ME="${0##*/}" - # Copyright © 2022 Klaus Alexander Seistrup <klaus@seistrup.dk> # Licensed under the GNU Affero General Public License v3+. # # Updated: 2023-10-26 -die() { - printf '%s: %s\n' "$ME" "$*" >&2 - exit 1 -} - -export HELIX_DEFAULT_RUNTIME='/usr/lib/helix/runtime' - -export HELIX_HX='/usr/lib/helix/hx' -test -x "$HELIX_HX" || die 'cannot find helix:' "$HELIX_HX" - -exec "$HELIX_HX" "$@" +exec helix "$@" exit 127 # eof |