Skip to content

Instantly share code, notes, and snippets.


Thomas Metzmacher thomet

View GitHub Profile
thomet /
Last active Sep 4, 2018 — forked from skanev/rubocop.rb
A Rubocop wrapper that checks only added/modified code

Click on the Raw button for the myrubocop.rb and copy the url.

> curl <insert raw url here> > ~/.bin/myrubocop
> chmod +x ~/.bin/myrubocop
View gac_spec.plugin.zsh
# Clone this repo into you $ZHS_CUSTOM/plguins folder and enable it as plugin in your ~/.zshrc
# Clone
# > git clone $ZSH_CUSTOM/plugins/gac_spec
# Enable plugin in ~/.zshrc (if you have other plugins enabled, add gac_spec to your list)
# plugins=(gac_spec)
function changed_ruby_files () {
if [ "$1" != "" ]