mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-03-09 21:05:50 +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
|
||||
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
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user