Commit e7a8e74f authored by Justin Hileman's avatar Justin Hileman Committed by GitHub

Merge pull request #707 from m4rkforks/master

Fix bug when creating new theme
parents ea1119c6 62a051a2
......@@ -14,8 +14,8 @@ function omf.packages.list -d 'List installed packages'
set -e show_plugins
end
set -l plugins_paths $OMF_PATH/pkg/*
set -l themes_paths $OMF_PATH/themes/*
set -l plugins_paths {$OMF_CONFIG, $OMF_PATH}/pkg/*
set -l themes_paths {$OMF_CONFIG, $OMF_PATH}/themes/*
if set -q show_plugins
for path in $plugins_paths
......
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
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment