repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by bugabinga
nushell/config.nu
Raw$env.config = {
edit_mode: vi
show_banner: false
buffer_editor: "nvim"
table: {mode: markdown}
rm: {
always_trash: (not $env.TERMUX)
}
cursor_shape: {vi_insert: line, vi_normal: block}
float_precision: 3
shell_integration: {
# osc9_9: true
# unfortunately, this seems to be buggy on win32 with wezterm
osc133: ($nu.os-info.family | str contains "unix")
}
highlight_resolved_externals: true
use_kitty_protocol: (not $env.WIN32)
color_config: {
# -- primitives (data types) --
int: green
float: green
bool: green_bold
string: blue
nothing: dark_gray
binary: dark_gray
duration: green
range: dark_gray
cell-path: dark_gray
# -- table / presentation --
separator: light_green
header: light_blue_bold
row_index: light_green
leading_trailing_space_bg: dark_gray
hints: cyan
empty: dark_gray
search_result: green_bold
# -- shapes (syntax highlighting, Nugu philosophy) --
# human meaning → prominent (important_local / focus)
shape_string: blue
shape_raw_string: blue
shape_string_interpolation: green_bold
shape_int: green_bold
shape_float: green_bold
shape_bool: green_bold
shape_filepath: green
shape_directory: green
shape_globpattern: green
shape_glob_interpolation: green_bold
shape_record: green
shape_list: green
shape_table: green
shape_datetime: green_bold
shape_match_pattern: blue
shape_signature: blue
shape_literal: white
shape_custom: magenta_bold
shape_closure: blue_bold
shape_block: blue_bold
shape_range: dark_gray
# structural / plumbing → receded (minor)
shape_keyword: dark_gray
shape_operator: dark_gray
shape_pipe: dark_gray
shape_redirection: dark_gray
shape_flag: light_cyan
shape_binary: dark_gray
shape_nothing: dark_gray
shape_matching_brackets: dark_gray_bold
shape_vardecl: white
shape_variable: white
# externals
shape_external: light_magenta
shape_externalarg: green_bold
shape_external_resolved: magenta_bold
shape_internalcall: light_cyan_bold
# errors
shape_garbage: {fg: white, bg: red, attr: b}
}
history: {file_format: "sqlite", isolation: true}
}