mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
cli: list pkgs and themes from OMF_CONFIG
This commit is contained in:
parent
f96c18f762
commit
823b6a79a8
@ -14,8 +14,8 @@ function omf.packages.list -d 'List installed packages'
|
|||||||
set -e show_plugins
|
set -e show_plugins
|
||||||
end
|
end
|
||||||
|
|
||||||
set -l plugins_paths $OMF_PATH/pkg/*
|
set -l plugins_paths {$OMF_CONFIG, $OMF_PATH}/pkg/*
|
||||||
set -l themes_paths $OMF_PATH/themes/*
|
set -l themes_paths {$OMF_CONFIG, $OMF_PATH}/themes/*
|
||||||
|
|
||||||
if set -q show_plugins
|
if set -q show_plugins
|
||||||
for path in $plugins_paths
|
for path in $plugins_paths
|
||||||
|
Loading…
Reference in New Issue
Block a user