Sha256: 0503e1ecb1796f4f3a163ddc684560aeaff2a960dcdf4fa61796c48716d5344a

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift File.dirname(__FILE__) + "/.."

if ARGV[0] == "tty"
  require "stridx-tty.rb"
  StrIdxTTY.run
elsif ARGV[0] == "bash"
  puts %q/
  bind -m emacs-standard '"\er": redraw-current-line';
  bind -m emacs-standard '"\C-t": " \C-b\C-k \C-u`stridx.rb tty`\e\C-e\er\C-a\C-y\C-h\C-e\e \C-y\ey\C-x\C-x\C-f"'
/
else
  require "daemons"
  Daemons.run(File.dirname(__FILE__) + "/../runserver.rb")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
StrIdx-0.1.4 exe/stridx.rb