Commit a17107e1 authored by fdeitylink's avatar fdeitylink Committed by Justin Hileman

packages: improve theme detection in installation

parent 53d37a98
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment