Skip to content

Commit

Permalink
Merge pull request oh-my-fish#503 from oh-my-fish/fix/better-theme-de…
Browse files Browse the repository at this point in the history
…tection

Detect themes by fish_prompt instead of name
  • Loading branch information
sagebind authored Apr 27, 2017
2 parents 3600f0b + 32faf74 commit 174c51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/omf/functions/packages/omf.packages.install.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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 not set -q package_type
echo $url | grep -q theme-
test -f $install_dir/fish_prompt.fish
and set package_type theme
or set package_type plugin
end
Expand Down

0 comments on commit 174c51b

Please sign in to comment.