diff --git a/themes/.gitignore b/themes/.gitignore new file mode 100644 index 0000000..1cc05ef --- /dev/null +++ b/themes/.gitignore @@ -0,0 +1 @@ +lemnos/ diff --git a/themes/make.nu b/themes/make.nu index b8358b2..e52c236 100755 --- a/themes/make.nu +++ b/themes/make.nu @@ -1,11 +1,13 @@ #!/usr/bin/env nu +let current_dir = ($env.CURRENT_FILE | path dirname) + let SOURCE = { - dir: ([lemnos themes] | path join) - local: "lemnos" + dir: ($current_dir | path join "lemnos" "themes") + local: ($current_dir | path join "lemnos") remote: "https://github.com/lemnos/theme.sh" } -let THEMES = "themes" +let THEMES = ($current_dir | path join "themes") def make-theme [name: string] { let colors = (