cli: list pkgs and themes from OMF_CONFIG

This commit is contained in:
M4rk9696 2019-06-08 21:11:09 +05:30
parent f96c18f762
commit 823b6a79a8

View File

@ -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