Skip to content

Commit

Permalink
Use “Compiling” in output window title for ⌘B
Browse files Browse the repository at this point in the history
Also a minor tweak to the run command to do proper escaping and avoid intermediate shell process.
  • Loading branch information
sorbits authored and ttilley committed Apr 2, 2013
1 parent fff699b commit 69c7dee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Commands/Compile and Display JS.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require "#{ENV['TM_SUPPORT_PATH']}/lib/tm/save_current_document"
require "#{ENV["TM_SUPPORT_PATH"]}/lib/tm/executor"
TextMate.save_if_untitled('cs')
TextMate::Executor.run(e_sh(ENV['TM_COFFEE'] || 'coffee'), '-p', '--bare', ENV['TM_FILEPATH'])
TextMate::Executor.run(e_sh(ENV['TM_COFFEE'] || 'coffee'), '-p', '--bare', ENV['TM_FILEPATH'], :verb => "Compiling")
</string>
<key>fallbackInput</key>
<string>document</string>
Expand Down
5 changes: 2 additions & 3 deletions Commands/Run selected text.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/bin/bash
${TM_COFFEE:=coffee} -s
<string>#!/bin/sh
exec "${TM_COFFEE:=coffee}" -s
</string>
<key>input</key>
<string>selection</string>
Expand Down

0 comments on commit 69c7dee

Please sign in to comment.