mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
epm: fix for xdg-dir
This commit is contained in:
parent
00760eb726
commit
ba156db4d6
|
@ -109,7 +109,14 @@ debug-mode = $false
|
|||
]
|
||||
|
||||
# Internal configuration
|
||||
-data-dir = ~/.elvish
|
||||
-data-dir = (
|
||||
if (not-eq $E:XDG_DATA_HOME '') {
|
||||
put $E:XDG_DATA_HOME/elvish
|
||||
} else {
|
||||
put ~/.local/share/elvish
|
||||
}
|
||||
)
|
||||
|
||||
-lib-dir = $-data-dir/lib
|
||||
|
||||
# General utility functions
|
||||
|
|
Loading…
Reference in New Issue
Block a user