From 62a051a201e535232c307f5bcd2d78e2ffee4c90 Mon Sep 17 00:00:00 2001 From: M4rk9696 Date: Sat, 8 Jun 2019 21:54:06 +0530 Subject: [PATCH] cli: Load theme from OMF_CONFIG #554 --- pkg/omf/functions/themes/omf.theme.set.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/omf/functions/themes/omf.theme.set.fish b/pkg/omf/functions/themes/omf.theme.set.fish index 0edd03f..40bc1e6 100644 --- a/pkg/omf/functions/themes/omf.theme.set.fish +++ b/pkg/omf/functions/themes/omf.theme.set.fish @@ -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