mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-09-11 13:45:56 +03: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
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…
Reference in New Issue
Block a user