Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect themes by fish_prompt instead of name #503

Merged
merged 1 commit into from
Apr 27, 2017

Conversation

sagebind
Copy link
Member

When installing a package from outside a repository, we currently need to detect if it is a theme or package. We were doing this by checking for a theme- prefix, but this enforces repo names on package authors and is too restrictive. Instead, detect a theme by checking for the presence of a fish_prompt.fish file, which should be much more reliable.

Fixes #191.

@derekstavis
Copy link
Member

Looks good to me. Happy to see this restriction going away 👍

@sagebind sagebind merged commit 174c51b into master Apr 27, 2017
@bobthecow
Copy link
Member

so much better.

@sagebind sagebind added this to the v6 milestone Jun 28, 2017
@sagebind sagebind deleted the fix/better-theme-detection branch January 4, 2019 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make theme- prefix no longer required for theme packages
3 participants