sync $env.config.explore with Explore::run

i followed what happens in
```rust
let mut config = nu_config.explore.clone();
include_nu_config(&mut config, &style_computer);
update_config(&mut config, show_index, show_head);
prepare_default_config(&mut config);
```
This commit is contained in:
amtoine 2023-07-13 19:38:54 +02:00
parent a09a1c5643
commit 173bdbba5b
No known key found for this signature in database
GPG Key ID: 37AAE9B486CFF1AB

View File

@ -219,45 +219,32 @@ $env.config = {
} }
explore: { explore: {
help_banner: true
exit_esc: true
command_bar_text: '#C4C9C6'
command_bar: {fg: '#C4C9C6' bg: '#223311' }
status_bar_background: {fg: '#1D1F21' bg: '#C4C9C6' }
status_bar_text: {fg: '#C4C9C6' bg: '#223311' }
highlight: {bg: 'yellow' fg: 'black' }
status: {
warn: {bg: 'yellow', fg: 'blue'}
error: {bg: 'yellow', fg: 'blue'}
info: {bg: 'yellow', fg: 'blue'}
}
try: { try: {
border_color: 'red' border_color: {fg: "white"} # $env.config.color_config.separator
highlighted_color: 'blue' },
reactive: false status_bar_background: {fg: "#1D1F21", bg: "#C4C9C6"},
} command_bar_text: {fg: "#C4C9C6"},
highlight: {fg: "black", bg: "yellow"},
status: {
error: {fg: "white", bg: "red"},
warn: {}
info: {}
},
table: { table: {
split_line: '#404040' split_line: {fg: "#404040"},
cursor: true selected_cell: {},
line_index: true selected_row: {},
line_shift: true selected_column: {},
line_head_top: true cursor: true,
line_head_bottom: true line_head_top: true,
show_head: true line_head_bottom: true,
show_index: true line_shift: true,
selected_cell: {fg: 'white', bg: '#777777'} line_index: true,
selected_row: {fg: 'yellow', bg: '#C1C2A3'} },
selected_column: blue
padding_column_right: 2
padding_column_left: 2
padding_index_left: 2
padding_index_right: 1
}
config: { config: {
cursor_color: {bg: 'yellow' fg: 'black' } border_color: {fg: "white"} # $env.config.color_config.separator
border_color: white cursor_color: {fg: "black", bg: "light_yellow"}
list_color: green },
}
} }
history: { history: {