cli: Load theme from OMF_CONFIG #554

This commit is contained in:
M4rk9696 2019-06-08 21:54:06 +05:30
parent 823b6a79a8
commit 62a051a201

View File

@ -1,5 +1,5 @@
function omf.theme.set -a target_theme function omf.theme.set -a target_theme
if not test -d $OMF_PATH/themes/$target_theme if not test -d $OMF_PATH/themes/$target_theme -o -d $OMF_CONFIG/themes/$target_theme
return $OMF_INVALID_ARG return $OMF_INVALID_ARG
end end