Skip to content

Commit

Permalink
Use new raw nu strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmorganson committed Sep 27, 2024
1 parent 6f794a4 commit 952a87a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions home/dot_config/nushell/scripts/theme.nu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const zellij_dark_theme = `
const zellij_dark_theme = r###'
themes {
default {
fg 245
Expand All @@ -14,9 +14,9 @@ themes {
orange 202
}
}
`
'###
const zellij_light_theme = `
const zellij_light_theme = r###'
themes {
default {
fg 248
Expand All @@ -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)
Expand Down

0 comments on commit 952a87a

Please sign in to comment.