From a17107e186ea4295c7d52fd408fbc7a28bd5b87e Mon Sep 17 00:00:00 2001 From: fdeitylink <11952260+fdeitylink@users.noreply.github.com> Date: Tue, 2 Mar 2021 18:01:01 -0500 Subject: [PATCH] packages: improve theme detection in installation --- pkg/omf/functions/packages/omf.packages.install.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/omf/functions/packages/omf.packages.install.fish b/pkg/omf/functions/packages/omf.packages.install.fish index f6fafc0..e7f03f5 100644 --- a/pkg/omf/functions/packages/omf.packages.install.fish +++ b/pkg/omf/functions/packages/omf.packages.install.fish @@ -39,7 +39,7 @@ function omf.packages.install -a name_or_url # If we don't know the package type yet, check if the package is a theme. if not set -q package_type - test -f $install_dir/fish_prompt.fish + test -f $install_dir/fish_prompt.fish -o -f $install_dir/functions/fish_prompt.fish and set package_type theme or set package_type plugin end