Skip to content

Instantly share code, notes, and snippets.

@amandarae
Created August 21, 2012 19:15
Show Gist options
  • Save amandarae/3418466 to your computer and use it in GitHub Desktop.
Save amandarae/3418466 to your computer and use it in GitHub Desktop.
strip all :focus from spec files
alias unfocus="for file in $(grep -irl ', :focus' spec) ; do sed -i '' 's/, :focus//' $file; done"
-courtesy of richard gould
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment