repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by bugabinga
nushell/config.nu
Raw$env.config = {
#color_config: $nugu_theme # TODO: generate nugu theme
use_ansi_coloring: true
edit_mode: vi
show_banner: false
table: {
mode: none
}
rm: {
always_trash: true
}
completions: {
use_ls_colors: true
}
cursor_shape: {
vi_insert: line
vi_normal: block
}
float_precision: 3
shell_integration: {
osc9_9: true
# unfortunatelly, this seems to be buggy on win32 with wezterm
osc133: ($nu.os-info.family | str contains "unix")
}
# some experimental options
buffer_editor: ["nvim" "--clean"]
highlight_resolved_externals : true
use_kitty_protocol : true
history: {
file_format: "sqlite"
isolation: true
}
hooks: {
pre_prompt: [{ ||
if (which direnv | is-empty) {
return
}
^direnv export json | from json | default {} | load-env
if 'ENV_CONVERSIONS' in $env and 'PATH' in $env.ENV_CONVERSIONS {
$env.PATH = do $env.ENV_CONVERSIONS.PATH.from_string $env.PATH
}
}]
}
}