Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit 8ccee6e

Browse files
hovsateremekoi
authored andcommitted
Respect TM_ZIG environment variable
The argument passed to `require_cmd` did not respect the TM_ZIG environment variable.
1 parent 9d20838 commit 8ccee6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Commands/Fmt.tmCommand

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set -e
1414
1515
PATH=/opt/local/bin:/usr/local/bin:/usr/local/zig/bin:$PATH
1616
17-
require_cmd zig
17+
require_cmd "${TM_ZIG:-zig}"
1818
1919
tmpfile=$(mktemp "${TMPDIR:-/tmp/}zig-fmt.XXXXXX")
2020
cat - > "$tmpfile"

0 commit comments

Comments
 (0)