lib/hss in hss-0.1.13 vs lib/hss in hss-0.1.14

- old
+ new

@@ -1,11 +1,11 @@ #!/usr/bin/env ruby require 'yaml' require 'pathname' -Version = '0.1.13' +Version = '0.1.14' if ARGV.length == 1 and ARGV[0] == 'version' puts Version exit end @@ -49,9 +49,10 @@ Conf['patterns'].each { |pattern| puts pattern['example'] } else Conf['patterns'].each do |pattern| next unless Input.match(pattern['short']) long_form = eval '"' + pattern['long'] + '"' + $stdout.syswrite "\033]0;#{Input}\007" exec "#{Cmd} #{long_form} #{Args}" end puts "Couldn't find a matching host for: #{Input}" exit 1 end