chore: ask debug log for bug report

This commit is contained in:
Jan De Dobbeleer 2021-11-16 19:38:24 +01:00 committed by Jan De Dobbeleer
parent b1b7576a90
commit 8837c127ed
2 changed files with 7 additions and 6 deletions

View file

@ -26,10 +26,11 @@ body:
validations:
required: true
- type: textarea
id: version
id: logs
attributes:
label: Version
description: What version of oh-my-posh are you running?
label: Log output
description: Please copy and paste the output generated by `Write-PoshDebug` (PowerShell) or `oh-my-posh --debug --shell uni --config="$POSH_THEME"` for other shells. Please copy/paste the log file's content, formatting is done automatically.
render: shell
validations:
required: true
- type: textarea

View file

@ -1,4 +1,4 @@
set -g posh_theme "::CONFIG::"
set -g POSH_THEME "::CONFIG::"
set -g POWERLINE_COMMAND "oh-my-posh"
set -g CONDA_PROMPT_MODIFIER false
@ -18,7 +18,7 @@ function fish_prompt
set -gx omp_last_status_generation $status_generation
end
::OMP:: --config $posh_theme --error $omp_status_cache --execution-time $omp_duration --stack-count $omp_stack_count
::OMP:: --config $POSH_THEME --error $omp_status_cache --execution-time $omp_duration --stack-count $omp_stack_count
end
function postexec_omp --on-event fish_postexec
@ -38,5 +38,5 @@ function export_poshconfig
if not test -n "$format"
set format "json"
end
::OMP:: --config $posh_theme --print-config --config-format $format > $file_name
::OMP:: --config $POSH_THEME --print-config --config-format $format > $file_name
end