summaryrefslogtreecommitdiff
path: root/bin/mise
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mise')
-rwxr-xr-xbin/mise13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/mise b/bin/mise
new file mode 100755
index 0000000..7f6c85b
--- /dev/null
+++ b/bin/mise
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+[ -n "$DEBUG" ] && set -x
+
+cd "$(dirname "$0")/.."
+
+if ! command -v mise >/dev/null 2>&1; then
+ echo "Install mise: https://github.com/jdx/mise"
+ exit 1
+fi
+
+exec mise $@