mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-07-30 21:57:44 +00:00
FEATURE: allow to run themes/make script from anywhere (#499)
* fix the path * ignore the `lemnos` base of themes
This commit is contained in:
parent
fe93a6bac7
commit
792d8e37f6
2 changed files with 6 additions and 3 deletions
1
themes/.gitignore
vendored
Normal file
1
themes/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
lemnos/
|
|
@ -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 = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue