From 1c2100eb81a1e5686cec03668174865eab799f68 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 9 Jun 2025 02:26:18 +0300 Subject: [PATCH] nushell: fix config and environment --- modules/common/nushell/config.nu | 5 ----- modules/common/nushell/environment.nu | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/common/nushell/config.nu b/modules/common/nushell/config.nu index f255470..ccd7a1c 100644 --- a/modules/common/nushell/config.nu +++ b/modules/common/nushell/config.nu @@ -422,8 +422,3 @@ $env.config.keybindings = [ event: { send: enter } } ] - -$env.LS_COLORS = (open ~/.config/nushell/ls_colors.txt) -source ~/.config/nushell/zoxide.nu - -source ~/.config/nushell/starship.nu diff --git a/modules/common/nushell/environment.nu b/modules/common/nushell/environment.nu index a5eb78f..7573cbe 100644 --- a/modules/common/nushell/environment.nu +++ b/modules/common/nushell/environment.nu @@ -7,6 +7,12 @@ $env.ENV_CONVERSIONS.PATH = { } } +$env.LS_COLORS = (open ~/.config/nushell/ls_colors.txt) + +source ~/.config/nushell/zoxide.nu + +source ~/.config/nushell/starship.nu + def copy []: string -> nothing { print --no-newline $"(ansi osc)52;c;($in | encode base64)(ansi st)" }