remove scoped local
This commit is contained in:
parent
b03afc5c07
commit
ab32974635
@ -170,10 +170,8 @@
|
|||||||
|
|
||||||
(fn xdg-data-home []
|
(fn xdg-data-home []
|
||||||
"Provides XDG_DATA_HOME or its default fallback value"
|
"Provides XDG_DATA_HOME or its default fallback value"
|
||||||
(local data-home (os.getenv "XDG_DATA_HOME"))
|
(or (os.getenv "XDG_DATA_HOME")
|
||||||
(if data-home
|
(path.concat (current-user-home) ".local/share/")))
|
||||||
data-home
|
|
||||||
(path.concat (current-user-home) ".local/share/")))
|
|
||||||
|
|
||||||
(fn xdg-data-dirs []
|
(fn xdg-data-dirs []
|
||||||
"Provides all data-dirs as a List. Most important first."
|
"Provides all data-dirs as a List. Most important first."
|
||||||
|
Loading…
Reference in New Issue
Block a user