diff --git a/plugins/zig/zig.plugin.zsh b/plugins/zig/zig.plugin.zsh index afe03a2d1..01a228010 100644 --- a/plugins/zig/zig.plugin.zsh +++ b/plugins/zig/zig.plugin.zsh @@ -1,7 +1,7 @@ # Zig as C & CXX compiler (clang wrapper) -alias ZCC="zig cc -fno-sanitize=all -lc" -alias ZCXX="zig c++ -fno-sanitize=all -lc -lc++" +export ZCC="zig cc -fno-sanitize=all -lc" +export ZCXX="zig c++ -fno-sanitize=all -lc -lc++" # Zig build-system project alias zbuild="zig build"