diff --git a/Commands/Fmt.tmCommand b/Commands/Fmt.tmCommand index 2520d2b..cab3a65 100644 --- a/Commands/Fmt.tmCommand +++ b/Commands/Fmt.tmCommand @@ -14,7 +14,7 @@ set -e PATH=/opt/local/bin:/usr/local/bin:/usr/local/zig/bin:$PATH -require_cmd zig +require_cmd "${TM_ZIG:-zig}" tmpfile=$(mktemp "${TMPDIR:-/tmp/}zig-fmt.XXXXXX") cat - > "$tmpfile"