mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-23 03:33:15 +08:00
2d1deeb5fd
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
27 lines
473 B
Fish
27 lines
473 B
Fish
set -g OMF_MISSING_ARG 1
|
|
set -g OMF_UNKNOWN_OPT 2
|
|
set -g OMF_INVALID_ARG 3
|
|
set -g OMF_UNKNOWN_ERR 4
|
|
|
|
function omf::em
|
|
set_color cyan ^ /dev/null
|
|
end
|
|
|
|
function omf::dim
|
|
set_color 555 ^ /dev/null
|
|
end
|
|
|
|
function omf::err
|
|
set_color red --bold ^ /dev/null
|
|
end
|
|
|
|
function omf::under
|
|
set_color --underline ^ /dev/null
|
|
end
|
|
|
|
function omf::off
|
|
set_color normal ^ /dev/null
|
|
end
|
|
|
|
autoload $path/functions/{compat,core,index,packages,themes,bundle,util,repo,cli,search}
|