diff options
| author | ruki <[email protected]> | 2025-12-03 00:31:47 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-03 00:31:47 +0800 |
| commit | edb55f6a7799181a2dfbd4eb8b6cf1f8be2f4f32 (patch) | |
| tree | 2efb19e161052946cbe6708860aa2cb63b6a1197 | |
| parent | bc7caf95a9cfdefed930937e8450997a4cdc8191 (diff) | |
update show envs
| -rw-r--r-- | xmake/plugins/show/lists/envs.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/plugins/show/lists/envs.lua b/xmake/plugins/show/lists/envs.lua index b4f9474a2..bb2bce8e3 100644 --- a/xmake/plugins/show/lists/envs.lua +++ b/xmake/plugins/show/lists/envs.lua @@ -38,7 +38,11 @@ function main() XMAKE_TMPDIR = {"Set the temporary directory.", os.tmpdir()}, XMAKE_PROFILE = {"Start profiler, e.g. perf:call, perf:tag, trace, stuck.", os.getenv("XMAKE_PROFILE")}, XMAKE_PKG_CACHEDIR = {"Set the cache directory of packages.", os.getenv("XMAKE_PKG_CACHEDIR")}, - XMAKE_PKG_INSTALLDIR = {"Set the install directory of packages.", os.getenv("XMAKE_PKG_INSTALLDIR")}} + XMAKE_PKG_INSTALLDIR = {"Set the install directory of packages.", os.getenv("XMAKE_PKG_INSTALLDIR")}, + XMAKE_MAIN_REPO = {"Set the official package master repository url.", os.getenv("XMAKE_MAIN_REPO")}, + XMAKE_BINARY_REPO = {"Set the official package pre-compiled repository url.", os.getenv("XMAKE_BINARY_REPO")}, + XMAKE_THEME = {"Set theme.", os.getenv("XMAKE_THEME") or global.get("theme")}, + XMAKE_STATS = {"Enable or disable user statistics.", os.getenv("XMAKE_STATS")}} local width = 24 for name, env in pairs(envs) do cprint("${color.dump.string}%s${clear}%s%s", name, (" "):rep(width - #name), env[1]) |
