mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-03-10 22:15:15 +08:00

Replace package database with independently installed package repositories - Add support for fetching and installing from package repositories containing package URLs and metadata - Support multiple package repository sources - Add new repo command - Remove submit command - Enhance describe and search commands - Fix and improve help text for new and adjusted commands - Fix bundle install exit status - Refer to plugins as "plugins" instead of the general term "packages" - Code clarity improvements - Put plugin/theme distinction into package metadata
13 lines
297 B
Fish
13 lines
297 B
Fish
function omf.cli.list
|
|
switch (count $argv)
|
|
case 0
|
|
echo (set_color -u)Plugins(set_color normal)
|
|
omf.packages.list --plugin | column
|
|
echo
|
|
echo (set_color -u)Themes(set_color normal)
|
|
omf.packages.list --theme | column
|
|
case '*'
|
|
omf.packages.list $argv | column
|
|
end
|
|
end
|