From 952a87a584f3682dc414bc214eff858a0f371ee0 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Fri, 27 Sep 2024 15:25:22 -0400 Subject: [PATCH] Use new raw nu strings --- home/dot_config/nushell/scripts/theme.nu | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/home/dot_config/nushell/scripts/theme.nu b/home/dot_config/nushell/scripts/theme.nu index 7adb5eb1..f45cc056 100644 --- a/home/dot_config/nushell/scripts/theme.nu +++ b/home/dot_config/nushell/scripts/theme.nu @@ -1,4 +1,4 @@ -const zellij_dark_theme = ` +const zellij_dark_theme = r###' themes { default { fg 245 @@ -14,9 +14,9 @@ themes { orange 202 } } -` +'### -const zellij_light_theme = ` +const zellij_light_theme = r###' themes { default { fg 248 @@ -32,7 +32,8 @@ themes { orange 9 } } -` +'### + export def --env dark [] { $env.config.color_config = $dark_theme $env.LS_COLORS = (vivid --color-mode 8-bit generate one-dark | str trim)