Created
August 9, 2011 20:21
-
-
Save jfernandez/1135092 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################################ | |
# Script to open a directory in TextMate excluding certain directories that | |
# tend to slow down the Find in Project... function. | |
# | |
# Place in an executable loctation with a name of your choosing. | |
# I use `ate' and have it in ~/Local/bin (which has been added to $PATH) | |
############################################################################ | |
# Enable extended globbing | |
shopt -s extglob | |
# Invoke TextMate upon all the files and directories except those listed | |
mate !(@(cache|db|log|tmp)) | |
# Disable extended globbing | |
shopt -u extglob |
Yeah I'm using Ackmate + Peepopen (http://peepcode.com/products/peepopen)
I wanted to make Peepopen ignore some folders.. but it actually uses a regexp pattern in the prefs. So this script isn't that useful anymore
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why not just switch to Ack-Mate / "Find in Project with Ack" plugin? It's sooo much faster... https://github.com/protocool/ackmate