Dotfiles/site-modules/core/files/nushell/config.nu
Ade Attwood 8cdd862133 feat(core): make wezterm nushell and nvim adapt theme
Now all the terminal themes will adapt with the system theme. Like other apps
it will not do this automatically, however needing to restart the terminal
session is not to much is an issue.
2025-07-25 11:29:07 +01:00

32 lines
571 B
Text

if ((sys host | get name) == "Windows") {
$env.HOME = $env.USERPROFILE
$env.USER = $env.USERNAME
}
use path.nu *
use fzf.nu *
use neovim.nu *
use prompt.nu *
use sapling.nu *
use nvm.nu *
$env.config = {
show_banner: false,
hooks: {
env_change: {
PWD: [
{|_, after| nvm dir-hook $after }
{|_, after| node-modules-dir-hook $after }
]
}
}
}
$env.config.show_banner = false
$env.config.shell_integration.osc133 = false
if $env.OS_THEME == "Light" {
use std/config light-theme
$env.config.color_config = (light-theme)
}