Sha256: 47a18179b63653068782afe6695c3e6625ad450fcf0f97a9e6faadce8bc83636
Contents?: true
Size: 717 Bytes
Versions: 1
Compression:
Stored size: 717 Bytes
Contents
# Encoding: UTF-8 [{beforeRunningCommand: "nop", command: "#!/bin/bash\n\nTPROLOG=${TM_PROLOG:-gprolog}\n\nesc () {\nSTR=\"$1\" ruby <<\"RUBY\"\n str = ENV['STR']\n str = str.gsub(/'/, \"'\\\\\\\\''\")\n str = str.gsub(/[\\\\\"]/, '\\\\\\\\\\\\0')\n print \"'\#{str}'\"\nRUBY\n}\n\nosascript <<- APPLESCRIPT\ntell application \"Terminal\"\n\tlaunch\n\tactivate\n\tdo script \"clear; cd $(esc \"${TM_DIRECTORY}\"); ${TPROLOG} --entry-goal \\\"consult('${TM_FILEPATH}')\\\"\"\n\tset position of first window to {100, 100}\nend tell\nAPPLESCRIPT\n\n\n", input: "none", keyEquivalent: "@r", name: "Run", output: "discard", scope: "source.prolog", uuid: "38D17DB7-C0D3-4C05-BD10-A7F78D67DF03"}]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ver-2010.08 | config/commands/Prolog.rb |