Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit d3c0b06941776d46de9000365d1ef2120fdb2869 1 parent ddf743d
@drnic drnic authored
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>
Please sign in to comment.
Something went wrong with that request. Please try again.