mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-22 13:11:00 +08: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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user