oh-my-fish/pkg/omf/cli/omf.list_installed_packages.fish

7 lines
173 B
Fish
Raw Normal View History

# List all packages installed from the registry.
function omf.list_installed_packages
for item in (basename $OMF_PATH/pkg/*)
2015-08-26 18:58:35 +00:00
test $item = omf; or echo $item
end
end