Copy Current File Path to Clipboard

# Copy current file path to clipboard
# (the TextMate command)
#
# Save:   Nothing
# Input:  None
# Output: Show as Tool Tip
echo -n $TM_FILEPATH | pbcopy
echo "Copied $TM_FILEPATH to clipboard"

The gist lives here http://gist.github.com/253860.

This was posted 2 years ago. Notes.