Cleaner config
This commit is contained in:
parent
1cf87aced8
commit
b0e9f9e421
|
@ -1,24 +1,12 @@
|
||||||
source ~/.config/nushell/init.nu
|
source ~/.config/nushell/init.nu
|
||||||
|
|
||||||
# Change default config
|
# Change default config
|
||||||
$env.config.cursor_shape = {
|
$env.config.show_banner = false
|
||||||
emacs: block
|
$env.config.use_grid_icons = false
|
||||||
vi_insert: block
|
$env.config.cursor_shape.emacs = block
|
||||||
vi_normal: underscore
|
$env.config.history.max_size = 1_000_000_000_000_000
|
||||||
}
|
$env.config.history.file_format = "sqlite"
|
||||||
|
$env.config.filesize.metric = false
|
||||||
$env.config.history = {
|
|
||||||
max_size: 100_000_000_000_000
|
|
||||||
sync_on_enter: true
|
|
||||||
file_format: "sqlite"
|
|
||||||
isolation: false
|
|
||||||
}
|
|
||||||
|
|
||||||
$env.config.filesize = {
|
|
||||||
metric: false
|
|
||||||
format: "auto"
|
|
||||||
}
|
|
||||||
|
|
||||||
$env.config.table.mode = light
|
$env.config.table.mode = light
|
||||||
|
|
||||||
# ls aliases
|
# ls aliases
|
||||||
|
|
|
@ -139,7 +139,7 @@ let light_theme = {
|
||||||
|
|
||||||
# The default config record. This is where much of your global configuration is setup.
|
# The default config record. This is where much of your global configuration is setup.
|
||||||
$env.config = {
|
$env.config = {
|
||||||
show_banner: false # true or false to enable or disable the welcome banner at startup
|
show_banner: true # true or false to enable or disable the welcome banner at startup
|
||||||
|
|
||||||
ls: {
|
ls: {
|
||||||
use_ls_colors: true # use the LS_COLORS environment variable to colorize output
|
use_ls_colors: true # use the LS_COLORS environment variable to colorize output
|
||||||
|
@ -222,7 +222,7 @@ $env.config = {
|
||||||
}
|
}
|
||||||
|
|
||||||
color_config: $dark_theme # if you want a more interesting theme, you can replace the empty record with `$dark_theme`, `$light_theme` or another custom record
|
color_config: $dark_theme # if you want a more interesting theme, you can replace the empty record with `$dark_theme`, `$light_theme` or another custom record
|
||||||
use_grid_icons: false
|
use_grid_icons: true
|
||||||
footer_mode: "25" # always, never, number_of_rows, auto
|
footer_mode: "25" # always, never, number_of_rows, auto
|
||||||
float_precision: 2 # the precision for displaying floats in tables
|
float_precision: 2 # the precision for displaying floats in tables
|
||||||
buffer_editor: "" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL
|
buffer_editor: "" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL
|
||||||
|
@ -755,4 +755,3 @@ $env.config = {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue