mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2026-08-24 10:14:12 -05:00
feat(cmd): set POSH_THEME env in init script
This commit is contained in:
committed by
Jan De Dobbeleer
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")
|
||||
|
||||
Reference in New Issue
Block a user