mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-22 12:03:58 +08:00
cli: Load theme from OMF_CONFIG #554
This commit is contained in:
parent
823b6a79a8
commit
62a051a201
|
@ -1,5 +1,5 @@
|
||||||
function omf.theme.set -a target_theme
|
function omf.theme.set -a target_theme
|
||||||
if not test -d $OMF_PATH/themes/$target_theme
|
if not test -d $OMF_PATH/themes/$target_theme -o -d $OMF_CONFIG/themes/$target_theme
|
||||||
return $OMF_INVALID_ARG
|
return $OMF_INVALID_ARG
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user