mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-26 09:42:51 +03:00
Update bug-report template
This commit is contained in:
parent
0d306fe85b
commit
1eca002e73
18
.github/ISSUE_TEMPLATE/bug_report.md
vendored
18
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -6,6 +6,10 @@ labels: "🐛 bug"
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
<!-- -------------------------------------------------------------------
|
||||
Please run the following command before submitting: tide bug-report
|
||||
-------------------------------------------------------------------- -->
|
||||
|
||||
#### Describe the bug
|
||||
|
||||
<!-- A clear and concise description of what the bug is. -->
|
||||
@ -16,22 +20,14 @@ assignees: ""
|
||||
2. Run '....'
|
||||
3. See error
|
||||
|
||||
#### Expected behavior
|
||||
|
||||
<!-- A clear and concise description of what you expected to happen. -->
|
||||
|
||||
#### Screenshots
|
||||
|
||||
<!-- If applicable, add screenshots to help explain your problem. -->
|
||||
|
||||
#### Environment (please complete the following information)
|
||||
#### Environment
|
||||
|
||||
- Operating System: <!-- e.g. Ubuntu 20.04 -->
|
||||
- Output of `tide bug-report`: <!-- In the code block below -->
|
||||
|
||||
```console
|
||||
|
||||
```
|
||||
- Operating system: <!-- e.g. Ubuntu 20.04 -->
|
||||
- Terminal emulator: <!-- e.g. Kitty, Alacritty, Hyper -->
|
||||
|
||||
#### Additional context
|
||||
|
||||
|
@ -7,7 +7,7 @@ function _tide_sub_bug-report
|
||||
source && fisher install ilancosman/tide"
|
||||
else if set -q _flag_verbose
|
||||
printf '%s\n' $TERM
|
||||
|
||||
|
||||
set --long | string match --regex "^_?tide.*" | # Get only tide variables
|
||||
string match --regex --invert "^_tide_.*_prompt_display_.*" | # Remove _tide_left_prompt_display_5770 etc
|
||||
string match --regex --invert "^_tide_var_list.*" # Remove _tide_var_list
|
||||
@ -26,7 +26,7 @@ function _tide_check_version -a programName repoName regexToGetVersion currentVe
|
||||
read --local --line __ latestVersion
|
||||
|
||||
string match --quiet --regex "^$latestVersion" "$currentVersion" && return
|
||||
|
||||
|
||||
set_color red
|
||||
printf '%s\n' \
|
||||
"Your $programName version is out of date." \
|
||||
|
Loading…
Reference in New Issue
Block a user