home-environments: radio: Update functionality of xdg-user-directory abbreviation
parent
55ca502560
commit
a50b1c089a
|
@ -1,6 +1,7 @@
|
||||||
function xdg-user-directory
|
function xdg-user-directory
|
||||||
string replace '@' '' \
|
eval (string join '' 'echo $XDG_' \
|
||||||
(string join '' '$XDG_' (string upper $argv[1]) '_DIR')
|
(string replace '@' '' (string upper $argv[1])) \
|
||||||
|
'_DIR')
|
||||||
end
|
end
|
||||||
|
|
||||||
function bang-bang
|
function bang-bang
|
||||||
|
|
Loading…
Reference in New Issue