mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-09-19 21:17:31 -07:00
fix: incorrect args in theme export
this fixes the background color to actually work, and quotes author as well (first usage of the field introduced in #964)
This commit is contained in:
parent
c7fa4f3e71
commit
c6a3dd4ee8
|
@ -71,9 +71,9 @@ themeConfigOverrrides.set('zash.omp.json', newThemeConfig(40, 40));
|
|||
let poshCommand = `oh-my-posh --config=${configPath} --shell shell --export-png`;
|
||||
poshCommand += ` --rprompt-offset=${config.rpromptOffset}`;
|
||||
poshCommand += ` --cursor-padding=${config.cursorPadding}`;
|
||||
poshCommand += ` --bg-color=${config.cursorPadding}`;
|
||||
poshCommand += ` --bg-color=${config.bgColor}`;
|
||||
if (config.author !== '') {
|
||||
poshCommand += ` --author=${config.author}`;
|
||||
poshCommand += ` --author="${config.author}"`;
|
||||
}
|
||||
|
||||
const { _, stderr } = await exec(poshCommand);
|
||||
|
|
Loading…
Reference in a new issue