From f05fc86d686f672601531a60739d32d74325e76a Mon Sep 17 00:00:00 2001 From: Zynh0722 Date: Tue, 26 Dec 2023 17:42:32 -0800 Subject: [PATCH] shellcheck compliance --- generate.sh | 1 + template.sh | 2 +- themes/rose-pine-dawn.sh | 2 +- themes/rose-pine-moon.sh | 2 +- themes/rose-pine.sh | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/generate.sh b/generate.sh index d3370dd..54a6573 100755 --- a/generate.sh +++ b/generate.sh @@ -21,6 +21,7 @@ case "$subcommand" in if [ "$subcommand" == "" ] || [ "$subcommand" == "default" ]; then . "${ScriptDir}/themes/rose-pine.sh" || exit 1 else + # shellcheck source=themes/rose-pine.sh . "${ScriptDir}/themes/rose-pine-${subcommand}.sh" || exit 1 fi default_red=() diff --git a/template.sh b/template.sh index 5bf5641..2325ee5 100644 --- a/template.sh +++ b/template.sh @@ -1,5 +1,5 @@ #!/bin/bash -colors=( +export colors=( "$base" "$love" "$foam" diff --git a/themes/rose-pine-dawn.sh b/themes/rose-pine-dawn.sh index f11b4cf..87abd90 100644 --- a/themes/rose-pine-dawn.sh +++ b/themes/rose-pine-dawn.sh @@ -1,5 +1,5 @@ #!/bin/bash -colors=( +export colors=( "250,244,237" "180,99,122" "86,148,159" diff --git a/themes/rose-pine-moon.sh b/themes/rose-pine-moon.sh index 6a6ac11..f09b76a 100644 --- a/themes/rose-pine-moon.sh +++ b/themes/rose-pine-moon.sh @@ -1,5 +1,5 @@ #!/bin/bash -colors=( +export colors=( "35,33,54" "235,111,146" "156,207,216" diff --git a/themes/rose-pine.sh b/themes/rose-pine.sh index a79ff92..9a283fd 100644 --- a/themes/rose-pine.sh +++ b/themes/rose-pine.sh @@ -1,5 +1,5 @@ #!/bin/bash -colors=( +export colors=( "25,23,36" "235,111,146" "156,207,216"