mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-12 14:04:05 -08:00
chore: ask debug log for bug report
This commit is contained in:
parent
b1b7576a90
commit
8837c127ed
7
.github/ISSUE_TEMPLATE/bug.yml
vendored
7
.github/ISSUE_TEMPLATE/bug.yml
vendored
|
@ -26,10 +26,11 @@ body:
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: version
|
id: logs
|
||||||
attributes:
|
attributes:
|
||||||
label: Version
|
label: Log output
|
||||||
description: What version of oh-my-posh are you running?
|
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:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
set -g posh_theme "::CONFIG::"
|
set -g POSH_THEME "::CONFIG::"
|
||||||
set -g POWERLINE_COMMAND "oh-my-posh"
|
set -g POWERLINE_COMMAND "oh-my-posh"
|
||||||
set -g CONDA_PROMPT_MODIFIER false
|
set -g CONDA_PROMPT_MODIFIER false
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ function fish_prompt
|
||||||
set -gx omp_last_status_generation $status_generation
|
set -gx omp_last_status_generation $status_generation
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
function postexec_omp --on-event fish_postexec
|
function postexec_omp --on-event fish_postexec
|
||||||
|
@ -38,5 +38,5 @@ function export_poshconfig
|
||||||
if not test -n "$format"
|
if not test -n "$format"
|
||||||
set format "json"
|
set format "json"
|
||||||
end
|
end
|
||||||
::OMP:: --config $posh_theme --print-config --config-format $format > $file_name
|
::OMP:: --config $POSH_THEME --print-config --config-format $format > $file_name
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue