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