mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
feat(cmd): set POSH_THEME
env in init script
This commit is contained in:
parent
b944db841e
commit
88dec08685
|
@ -33,6 +33,8 @@ local function omp_config()
|
|||
return [["::CONFIG::"]]
|
||||
end
|
||||
|
||||
os.setenv("POSH_THEME", omp_config())
|
||||
|
||||
local function can_async()
|
||||
if (clink.version_encoded or 0) >= 10030001 then
|
||||
return settings.get("prompt.async")
|
||||
|
|
Loading…
Reference in a new issue