Skip to content

Commit

Permalink
• renamed the shell var "FINDER_APP" to TM_GETBUNDLES_REVEAL_BUNDLE_I…
Browse files Browse the repository at this point in the history
…N since "FINDER_APP" is not a system var and to make it clear to which bundle it belongs to (thanks to Allan who alert me)

git-svn-id: http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle@11409 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
bibiko committed Mar 25, 2009
1 parent 7e0d4e4 commit 8553cd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Support/getBundles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ def closeMe
updateDIALOG
when 'infoButtonIsPressed': $infoThread = Thread.new { infoDIALOG($dialogResult) }
when 'revealInFinderIsPressed':
$finder_app = ENV['FINDER_APP'] || "Finder"
$finder_app = ENV['TM_GETBUNDLES_REVEAL_BUNDLE_IN'] || "Finder"
%x{osascript -e 'tell app "#{$finder_app}" to reveal POSIX file("#{$localBundles[$dialogResult['uuid']]['path']}")'}
when 'openAsProjectIsPressed': %x{mate '#{$localBundles[$dialogResult['uuid']]['path']}'}
when 'deleteButtonIsPressed':
Expand Down
2 changes: 1 addition & 1 deletion Support/help.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ This drawer shows the current content of the log file <a onclick='TextMate.syste

<table style="margin-left:1cm">
<tr><td style="font-size:9pt"><strong>TM_SVN</strong></td><td style="font-size:9pt">&nbsp;</td><td style="font-size:9pt">user-defined absolute path to the <code>svn</code> client</td></tr>
<tr><td style="font-size:9pt"><strong>FINDER_APP</strong></td><td style="font-size:9pt">&nbsp;</td><td style="font-size:9pt">set this variable to the name of that application (e.g. "Path Finder") which should be opened if you pressed "Reveal Bundle in Finder" (if unset "Finder" is its default)</td></tr>
<tr><td style="font-size:9pt"><strong>TM_GETBUNDLES_REVEAL_BUNDLE_IN</strong></td><td style="font-size:9pt">&nbsp;</td><td style="font-size:9pt">set this variable to the name of that application (e.g. "Path Finder") which should be opened if you pressed "Reveal Bundle in Finder" (if unset "Finder" is its default)</td></tr>
</table>

All variables can be set in TextMate's Preferences, under the item "Advanced".
Expand Down

0 comments on commit 8553cd6

Please sign in to comment.