oh-my-fish/pkg/omf/cli/omf_list_db_packages.fish
2015-08-27 00:20:13 +09:00

7 lines
219 B
Fish

# List all packages available to install from the registry.
function omf_list_db_packages
for item in (basename $OMF_PATH/db/pkg/*)
contains $item (basename {$OMF_PATH,$OMF_CUSTOM}/pkg/*); or echo $item
end
end