From b0e9f9e4215a98e8a08a05c6972dd86e9981ae65 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Thu, 9 Nov 2023 14:58:18 +0100 Subject: [PATCH] Cleaner config --- nushell/config.nu | 24 ++++++------------------ nushell/init.nu | 5 ++--- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/nushell/config.nu b/nushell/config.nu index ec69e68..b277766 100644 --- a/nushell/config.nu +++ b/nushell/config.nu @@ -1,24 +1,12 @@ source ~/.config/nushell/init.nu # Change default config -$env.config.cursor_shape = { - emacs: block - vi_insert: block - vi_normal: underscore -} - -$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.show_banner = false +$env.config.use_grid_icons = false +$env.config.cursor_shape.emacs = block +$env.config.history.max_size = 1_000_000_000_000_000 +$env.config.history.file_format = "sqlite" +$env.config.filesize.metric = false $env.config.table.mode = light # ls aliases diff --git a/nushell/init.nu b/nushell/init.nu index cd471da..ef39214 100644 --- a/nushell/init.nu +++ b/nushell/init.nu @@ -139,7 +139,7 @@ let light_theme = { # The default config record. This is where much of your global configuration is setup. $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: { 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 - use_grid_icons: false + use_grid_icons: true footer_mode: "25" # always, never, number_of_rows, auto 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 @@ -755,4 +755,3 @@ $env.config = { } ] } -