From 7e4e7a7067a949d2198773332b5f0649489ff21c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20C=2E=20Fran=C3=A7a?= Date: Sun, 13 Feb 2022 10:48:35 -0300 Subject: [PATCH] zig alias added --- plugins/zig/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/plugins/zig/README.md b/plugins/zig/README.md index 96af3f684..006e123fc 100644 --- a/plugins/zig/README.md +++ b/plugins/zig/README.md @@ -5,3 +5,21 @@ To use it, add `zig` to the plugins array in your zshrc file: ```zsh plugins=(... zig) ``` +# Alias + +| Alias | Command | Description | +|:----------------------|:-------------------------------------------------|----------------------------- +| `ZCC` | `zig cc` | `Use Zig as a drop-in C compiler` +| `ZCXX` | `zig c++` | `Use Zig as a drop-in C++ compiler` +| `zbuild` | `zig build` | `Build project from build.zig` +| `zbuildrun` | `zig build run` | `Build and run project from build.zig` +| `zbuildtest` | `zig build test` | `Build, run and test project from build.zig` +| `zbuildexe` | `zig init-exe` | `Initialize a "zig build" application in the cwd` +| `zbuildlib` | `zig init-lib` | `Initialize a "zig build" library in the cwd` +| `zfmt` | `zig fmt` | `Reformat Zig source into canonical form` +| `zlint` | `zig ast-check` | `Look for simple compile errors in any set of files` +| `c2zig` | `zig translate-c` | `Convert C code to Zig code` +| `ztest` | `zig test` | `Create and run a test build` +| `zrun` | `zig run` | `Create executable and run immediately` +| `zversion` | `zig version` | `Print version number and exit` +| `zfind` | `find . -name "*.zig"` | `Find all zig files`