feat(cmd): set POSH_THEME env in init script

This commit is contained in:
L. Yeung 2022-05-09 00:17:14 +08:00 committed by Jan De Dobbeleer
parent b944db841e
commit 88dec08685

View file

@ -33,6 +33,8 @@ local function omp_config()
return [["::CONFIG::"]] return [["::CONFIG::"]]
end end
os.setenv("POSH_THEME", omp_config())
local function can_async() local function can_async()
if (clink.version_encoded or 0) >= 10030001 then if (clink.version_encoded or 0) >= 10030001 then
return settings.get("prompt.async") return settings.get("prompt.async")