Skip to content

Instantly share code, notes, and snippets.

@jxpx777
Created October 8, 2010 12:57
Show Gist options
  • Save jxpx777/616747 to your computer and use it in GitHub Desktop.
Save jxpx777/616747 to your computer and use it in GitHub Desktop.
# A better mmr alias for opening only the relevant files from a directory that's assumed to be a rails project.
alias mmr="ruby -e 'puts %x{ls -A}.split(\"\n\").reject {|el| el =~ /^\./ || el =~ /(tmp|log|esproj)$/}' | xargs mate"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment