Created
May 15, 2009 00:25
-
-
Save wezm/111999 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment