Commit 32faf74b authored by Stephen M. Coakley's avatar Stephen M. Coakley

Detect themes by fish_prompt instead of name

parent 3600f0bd
...@@ -37,7 +37,7 @@ function omf.packages.install -a name_or_url ...@@ -37,7 +37,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 we don't know the package type yet, check if the package is a theme.
if not set -q package_type if not set -q package_type
echo $url | grep -q theme- test -f $install_dir/fish_prompt.fish
and set package_type theme and set package_type theme
or set package_type plugin or set package_type plugin
end 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