Permalink
Browse files

Run commands display within <pre> tags to retain console-like formatting

  • Loading branch information...
1 parent ddf743d commit d3c0b06941776d46de9000365d1ef2120fdb2869 @drnic drnic committed Mar 16, 2010
Showing with 8 additions and 2 deletions.
  1. +4 −1 Commands/Run selected text.tmCommand
  2. +4 −1 Commands/Run.tmCommand
View
5 Commands/Run selected text.tmCommand
@@ -6,7 +6,10 @@
<string>nop</string>
<key>command</key>
<string>#!/bin/bash
-coffee -s</string>
+
+echo "&lt;pre&gt;"
+coffee -s
+echo "&lt;/pre&gt;"</string>
<key>input</key>
<string>selection</string>
<key>keyEquivalent</key>
View
5 Commands/Run.tmCommand
@@ -6,7 +6,10 @@
<string>nop</string>
<key>command</key>
<string>#!/bin/bash
-coffee -s</string>
+
+echo "&lt;pre&gt;"
+coffee -s
+echo "&lt;/pre&gt;"</string>
<key>input</key>
<string>document</string>
<key>keyEquivalent</key>

0 comments on commit d3c0b06

Please sign in to comment.