Skip to content

Instantly share code, notes, and snippets.

Avatar

Thomas Metzmacher thomet

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

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 https://gist.github.com/729dbb4216c9461eeb77e7aa7bc3e748.git $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" != "" ]