Skip to content

Commit 2bc50a2

Browse files
authored
Update installation template
Taking a few pages from bat's book.
1 parent 0ed244b commit 2bc50a2

File tree

1 file changed

+15
-90
lines changed

1 file changed

+15
-90
lines changed
Lines changed: 15 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,33 @@
11
---
22
name: Installation Issue
33
about: The syntax doesn't work after you tried the installation steps.
4-
title: 'Installation: [TITLE]'
4+
title: ''
55
labels: installation
66
assignees: ''
7-
---
8-
9-
### environment:
10-
11-
Output of `$ bat --diagnostic`:
12-
13-
<!--
14-
Example:
15-
16-
#### Software version
17-
18-
bat 0.22.1
19-
20-
#### Operating system
21-
22-
Linux 5.15.0-76-generic
237

24-
#### Command-line
25-
26-
```bash
27-
bat --diagnostic
28-
```
29-
30-
#### Environment variables
31-
32-
```bash
33-
SHELL=/usr/bin/zsh
34-
PAGER=less
35-
LESS=<not set>
36-
LANG=en_US.UTF-8
37-
LC_ALL=<not set>
38-
BAT_PAGER='less -R'
39-
BAT_CACHE_PATH=<not set>
40-
BAT_CONFIG_PATH=<not set>
41-
BAT_OPTS=<not set>
42-
BAT_STYLE=<not set>
43-
BAT_TABS=<not set>
44-
BAT_THEME=<not set>
45-
XDG_CONFIG_HOME=<not set>
46-
XDG_CACHE_HOME=<not set>
47-
COLORTERM=truecolor
48-
NO_COLOR=<not set>
49-
MANPAGER='sh -c '\''col -bx | bat -p --language=man --theme=custom16'\'''
50-
```
51-
52-
#### System Config file
53-
54-
Could not read contents of '/etc/bat/config': No such file or directory (os error 2).
8+
---
559

56-
#### Config file
10+
**What happens?**
5711

58-
```
59-
# This is `bat`s configuration file. Each line either contains a comment or
60-
# a command-line option that you want to pass to `bat` by default. You can
61-
# run `bat --help` to get a list of all possible configuration options.
12+
...
6213

63-
--theme="Dracula"
64-
--italic-text=always
65-
--color=always
66-
```
14+
**What did you expect to happen instead?**
6715

68-
#### Custom assets metadata
16+
...
6917

70-
```
7118
---
72-
bat_version: 0.22.1
73-
creation_time:
74-
secs_since_epoch: 1675707991
75-
nanos_since_epoch: 145212003
76-
```
77-
78-
#### Custom assets
7919

80-
- metadata.yaml, 101 bytes
81-
- syntaxes.bin, 907088 bytes
82-
- themes.bin, 41171 bytes
20+
**bat version and environment**
8321

84-
#### Compile time information
85-
86-
- Profile: release
87-
- Target triple: x86_64-unknown-linux-gnu
88-
- Family: unix
89-
- OS: linux
90-
- Architecture: x86_64
91-
- Pointer width: 64
92-
- Endian: little
93-
- CPU features: fxsr,sse,sse2
94-
- Host: x86_64-unknown-linux-gnu
22+
<!--
23+
In order to reproduce your issue, please add some information about the environment
24+
in which you're running bat. To do this, run the full `bat` command that demonstrates
25+
the bug, and attach the `--diagnostic` option:
9526
96-
#### Less version
27+
bat [other options and arguments…] --diagnostic
9728
98-
```
99-
> less --version
100-
less 551 (GNU regular expressions)
101-
Copyright (C) 1984-2019 Mark Nudelman
29+
Finally, paste the Markdown output here. Please make sure that it does not reveal any
30+
personal information.
10231
103-
less comes with NO WARRANTY, to the extent permitted by law.
104-
For information about the terms of redistribution,
105-
see the file named README in the less distribution.
106-
Home page: http://www.greenwoodsoftware.com/less
107-
```
32+
If you are on Windows, please let us know your bat version and your Windows version.
10833
-->

0 commit comments

Comments
 (0)