Find file
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (48 sloc) 2.05 KB
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/"
html_header "Perforce Bundle Help" "Perforce" &lt;&lt;"EOF"|
The Perforce bundle contains commands to allow one to work with the [Perforce Software Configuration Management System]( from within TextMate.
This document assumes that the reader has already installed and is familiar with Perforce. For help with Perforce, see [](
## Setup
You probably already have the following environment variables defined (in a file such as .bash_profile or .p4config) in order to use the `p4` shell command:
The Perforce bundle commands that don't use the shell (such as "Diff With Base") don't have access to environment variables (such as those defined in .bash_profile), so they need to be defined in TextMate.
1. Select the TextMate → Preferences… menu item
2. Click on Advanced (the gear icon)
3. Click on Shell Variables
4. Click on '+', and change "MY_VARIABLE" to "P4PORT" and change "some value" to the appropriate P4PORT value for your Perforce server
5. Repeat step 4 for P4USER and P4CLIENT
<string>Bundle Help</string>