townengine/hooks
2025-01-03 11:55:39 +03:00

10 lines
255 B
Bash
Executable File

#!/bin/env sh
# hookup /tools/ to be usable no matter where
# usage: `source hookup`
set +e
# TODO: prevent double hooking
export PATH=$PATH:$(realpath $(dirname -- "${BASH_SOURCE[0]}")/bin/)
export TWNROOT=$(realpath $(dirname -- "${BASH_SOURCE[0]}"))