2015-01-30 03:48:02 +00:00
# Contributing
We love pull requests. Here's a quick guide.
Fork and make your change. Make sure the tests pass:
./script/run-tests.fish -v
Push to your fork and [submit a pull request][pr].
2015-05-30 22:59:37 +00:00
At this point you're waiting on us. We usually comment on pull requests within a few hours. We may suggest some changes or improvements or alternatives.
2015-01-30 03:48:02 +00:00
Some things that will increase the chance that your pull request is accepted:
* Write tests.
* Follow our [style guide][style].
* Write a [good commit message][commit].
## Style Guide
* Indentation should follow the "2-space convention".
* Keep line length to a maximum of 100 characters.
### Plugins
2015-05-30 22:59:37 +00:00
If your plugin is complex, make sure to include tests, we suggest using [fish-spec][].
2015-01-30 03:48:02 +00:00
### Themes
2015-07-06 17:47:51 +00:00
Make sure to include a screenshot in your pull request, but don't commit the file to git. A nifty way is to post a comment with the image and link directly to it.
2015-01-30 03:48:02 +00:00
2015-05-30 22:59:37 +00:00
2015-06-17 15:38:50 +00:00
[pr]: https://github.com/oh-my-fish/oh-my-fish/compare/
[fish-spec]: https://github.com/oh-my-fish/oh-my-fish/tree/master/plugins/fish-spec
2015-01-30 03:48:02 +00:00
[commit]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
[style]: #style -guide