mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-09 13:47:11 +02:00
update config to reflect platform specific defaults
This commit is contained in:
parent
d31520261f
commit
3cafa2bb12
@ -14,14 +14,44 @@
|
|||||||
- white
|
- white
|
||||||
optionsTextColor:
|
optionsTextColor:
|
||||||
- blue
|
- blue
|
||||||
os:
|
|
||||||
openCommand: 'open {{filename}}'
|
|
||||||
update:
|
update:
|
||||||
method: prompt # can be: prompt | background | never
|
method: prompt # can be: prompt | background | never
|
||||||
days: 14 # how often an update is checked for
|
days: 14 # how often an update is checked for
|
||||||
reporting: 'undetermined' # one of: 'on' | 'off' | 'undetermined'
|
reporting: 'undetermined' # one of: 'on' | 'off' | 'undetermined'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Platform Defaults:
|
||||||
|
|
||||||
|
### Windows:
|
||||||
|
|
||||||
|
```
|
||||||
|
os:
|
||||||
|
openCommand: 'cmd /c "start "" {{filename}}"'
|
||||||
|
```
|
||||||
|
|
||||||
|
### Linux:
|
||||||
|
|
||||||
|
```
|
||||||
|
os:
|
||||||
|
openCommand: 'bash -c \"xdg-open {{filename}} &>/dev/null &\"'
|
||||||
|
```
|
||||||
|
|
||||||
|
### OSX:
|
||||||
|
|
||||||
|
```
|
||||||
|
os:
|
||||||
|
openCommand: 'open {{filename}}'
|
||||||
|
```
|
||||||
|
|
||||||
|
### Recommended Config Values:
|
||||||
|
|
||||||
|
for users of VSCode
|
||||||
|
|
||||||
|
```
|
||||||
|
os:
|
||||||
|
openCommand: 'code -r {{filename}}'
|
||||||
|
```
|
||||||
|
|
||||||
## Color Attributes:
|
## Color Attributes:
|
||||||
|
|
||||||
For color attributes you can choose an array of attributes (with max one color attribute)
|
For color attributes you can choose an array of attributes (with max one color attribute)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user