Download these as individually installable
bundles.
[Just unpack and click on the desired icon(s)].
These are commands and zsh shell scripts that I incorporated within TextMate by making use of the Bundles editor feature.
You can simply download and click on one of the individually installable bundles to install what I made, or you can create your own, perhaps using what I have as a starting point.
Briefly, I have assembled the following bundles, often using code from distributed bundles:
# |
Bundle Name |
Description |
---|---|---|
1 | Copy Path.tmCommand | Copy the path of the directory of the displayed document |
2 | Fink.tmbundle | Various commands specific to Fink |
3 | ZSH.tmbundle | A bundle for writing shellscripts in ZSH |
4 | iTerm.tmbundle | Several iTerm-specific commands |
5 | HTML.tmbundle | Added some stuff to the distributed HTML bundle |
These are conventional shell scripts or zsh functions that, unlike the above examples that need to be run from within TextMate, can be executed from the unix command line. To use these with any user shell, make them executable and put them in your $PATH. If you are a zsh geek, you can put them as is in your $FPATH.
cdt is a command to change your working directory to that which contains the file displayed in the frontmost TextMate window.
tmpj is a command that takes as an argument the prefix of the name of a textmate project. It used mdfind to track down the project file, so you don't need to issue the full path. You can run the command from any location. zsh users will want to get the accomanying programmed completion function _tmpj .
Please visit my iTerm Customization page for additional suggestions not specific to TextMate.