mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Fix deprecated nushell settings
This commit is contained in:
parent
d20c43e559
commit
5401fafa09
1 changed files with 11 additions and 2 deletions
|
@ -7,11 +7,20 @@ $env.config = {
|
||||||
float_precision: 2
|
float_precision: 2
|
||||||
footer_mode: 25
|
footer_mode: 25
|
||||||
render_right_prompt_on_last_line: false
|
render_right_prompt_on_last_line: false
|
||||||
shell_integration: true
|
|
||||||
show_banner: false
|
show_banner: false
|
||||||
use_ansi_coloring: true
|
use_ansi_coloring: true
|
||||||
use_grid_icons: true
|
use_grid_icons: true
|
||||||
use_kitty_protocol: true
|
use_kitty_protocol: true
|
||||||
|
|
||||||
|
shell_integration: {
|
||||||
|
osc2: false
|
||||||
|
osc7: true
|
||||||
|
osc8: true
|
||||||
|
osc9_9: false
|
||||||
|
osc133: true
|
||||||
|
osc633: true
|
||||||
|
reset_application_mode: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$env.config.color_config = {
|
$env.config.color_config = {
|
||||||
|
@ -159,7 +168,7 @@ $env.config.hooks = {
|
||||||
env_change: {}
|
env_change: {}
|
||||||
pre_execution: [
|
pre_execution: [
|
||||||
{
|
{
|
||||||
let prompt = (commandline) | str trim
|
let prompt = commandline | str trim
|
||||||
|
|
||||||
if ($prompt | is-empty) {
|
if ($prompt | is-empty) {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue