Created
February 19, 2010 08:00
-
-
Save indirect/308537 to your computer and use it in GitHub Desktop.
tm for easy textmate project access
This file contains 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
function setup-tm { | |
mkdir -p ~/Dropbox/Settings/dotfiles/tmproj | |
ln -s ~/Dropbox/Settings/dotfiles/tmproj ~/.tmproj | |
} | |
function tm { | |
open ~/.tmproj/$1.tmproj | |
} | |
complete -W '$(ls ~/.tmproj | sed s/.tmproj//)' tm |
This file contains 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
$ mate bundler | |
<Save Project As… to ~/.tmproj/bundler.tmproj> | |
$ tm <tab> | |
bundler homebrew | |
$ tm b<tab> → tm bundler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment