mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
parent
341147aa41
commit
b6ac0b3904
|
@ -162,7 +162,7 @@ function p:rightfilter(prompt)
|
||||||
return cached_prompt.right, false
|
return cached_prompt.right, false
|
||||||
end
|
end
|
||||||
function p:transientfilter(prompt)
|
function p:transientfilter(prompt)
|
||||||
local prompt_exe = string.format('%s print transient --config=%s', omp_exe(), omp_config())
|
local prompt_exe = string.format('%s print transient --config=%s %s', omp_exe(), omp_config(), error_level_option())
|
||||||
prompt = run_posh_command(prompt_exe)
|
prompt = run_posh_command(prompt_exe)
|
||||||
if prompt == "" then
|
if prompt == "" then
|
||||||
prompt = nil
|
prompt = nil
|
||||||
|
|
Loading…
Reference in a new issue