mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-25 17:57:38 +08:00
a6a67be60b
Fish is deprecating `^` as a shortcut for stderr redirection. Replace with the more common and compatible `2>`. Fixes #609
27 lines
478 B
Fish
27 lines
478 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 2> /dev/null
|
|
end
|
|
|
|
function omf::dim
|
|
set_color 555 2> /dev/null
|
|
end
|
|
|
|
function omf::err
|
|
set_color red --bold 2> /dev/null
|
|
end
|
|
|
|
function omf::under
|
|
set_color --underline 2> /dev/null
|
|
end
|
|
|
|
function omf::off
|
|
set_color normal 2> /dev/null
|
|
end
|
|
|
|
autoload $path/functions/{compat,core,index,packages,themes,bundle,util,repo,cli,search}
|